Commit 264f13c6 authored by 李苏's avatar 李苏 💬

字段部分调整

parent c950dd27
...@@ -357,9 +357,6 @@ export const powerRoutes = [ ...@@ -357,9 +357,6 @@ export const powerRoutes = [
name: 'gysxx', name: 'gysxx',
path: "gysxx", path: "gysxx",
} }
], ],
}, },
/* 入库管理 */ /* 入库管理 */
......
...@@ -23,13 +23,12 @@ ...@@ -23,13 +23,12 @@
</template> </template>
</editTableForEdit> </editTableForEdit>
</div> </div>
<el-row :gutter="20" :app="this" class="editRow bottomInfo"> <el-row :gutter="20" :app="this" class="editRow bottomInfo">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " <EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList2 " :value="item.value" :span="item.span" :label="item.label" v-for="(item,index) in editColItemList2 " :value="item.value" :span="item.span" :label="item.label"
:prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
:rule="item.rule" /> <!-- 额外数据 -->
<!-- 额外数据 --> </el-row>
</el-row>
</el-form> </el-form>
<!-- editTab数据 --> <!-- editTab数据 -->
...@@ -66,7 +65,10 @@ ...@@ -66,7 +65,10 @@
row row
} = obj } = obj
this.form.swlxid = row.swlxid this.form.swlxid = row.swlxid
this.form.lydjDjid=row.djid
this.form.lydjid = row.id this.form.lydjid = row.id
this.form.hzid = row.hzid
this.form.hzName = row.hzName
this.form.ckid = row.ckid this.form.ckid = row.ckid
this.form.bmid = row.bmid this.form.bmid = row.bmid
this.form.ywrq = row.ywrq this.form.ywrq = row.ywrq
...@@ -87,6 +89,9 @@ ...@@ -87,6 +89,9 @@
row row
} = obj } = obj
this.form.swlxid = row.swlxid this.form.swlxid = row.swlxid
this.form.lydjDjid=row.djid
this.form.hzid = row.hzid
this.form.hzName = row.hzName
this.form.lydjid = row.id this.form.lydjid = row.id
this.form.ckid = row.ckid this.form.ckid = row.ckid
this.form.bmid = row.bmid this.form.bmid = row.bmid
...@@ -110,7 +115,7 @@ ...@@ -110,7 +115,7 @@
this.DialogTitle = '选择调拨出库单' this.DialogTitle = '选择调拨出库单'
this.showDialog = true this.showDialog = true
}, },
save(){}, save() {},
/* 选择库存回调 */ /* 选择库存回调 */
savekc(list) { savekc(list) {
list.forEach(item => { list.forEach(item => {
...@@ -133,10 +138,11 @@ ...@@ -133,10 +138,11 @@
DialogWidth: '80vw', DialogWidth: '80vw',
/* 常规edit数据 */ /* 常规edit数据 */
editColItemList: [{ editColItemList: [{
label: '拣货单号', label: '出库单号',
prop: 'djid', prop: 'lydjDjid',
span: 8, span: 8,
type: 'input', type: 'input',
readonly:true
// "required": true, // "required": true,
}, },
// { // {
...@@ -156,7 +162,7 @@ ...@@ -156,7 +162,7 @@
"required": true, "required": true,
}, },
{ {
readonly:true, readonly: true,
"label": "仓库", "label": "仓库",
"prop": "ckid", "prop": "ckid",
"span": 8, "span": 8,
...@@ -189,7 +195,7 @@ ...@@ -189,7 +195,7 @@
} }
}, },
{ {
readonly:true, readonly: true,
"label": "事务类型", "label": "事务类型",
"prop": "swlxid", "prop": "swlxid",
"span": 8, "span": 8,
...@@ -205,7 +211,7 @@ ...@@ -205,7 +211,7 @@
} }
}, },
{ {
readonly:true, readonly: true,
"label": "部门", "label": "部门",
"prop": "bmid", "prop": "bmid",
"span": 8, "span": 8,
...@@ -220,6 +226,22 @@ ...@@ -220,6 +226,22 @@
} }
} }
}, },
{
label: '货主',
prop: 'hzid',
span: 8,
required: true,
type: 'AuxInput',
typeConfig: {
isRequest: true,
code: 'HZID',
label: 'hzName',
transform: {
value: 'id',
label: 'name'
}
}
},
{ {
label: '拣货人', label: '拣货人',
prop: 'jhrid', prop: 'jhrid',
...@@ -238,7 +260,7 @@ ...@@ -238,7 +260,7 @@
{ {
label: '备注', label: '备注',
prop: 'bz', prop: 'bz',
span: 16, span: 24,
type: 'input', type: 'input',
}, },
], ],
...@@ -274,7 +296,7 @@ ...@@ -274,7 +296,7 @@
{ {
title: "拣出数量", title: "拣出数量",
field: "jcsl", field: "jcsl",
type: 'inputNumber', type: 'inputNumber',
allowEdit: false, allowEdit: false,
}, },
// { // {
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
}, },
{ {
title: "单据来源号", title: "单据来源号",
field: "djlyCode", field: "lydjDjid",
width: 140 width: 140
}, },
{ {
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
<DefaultDialog :app='app'> <DefaultDialog :app='app'>
<div slot="form" > <div slot="form" >
<div style="height: 50px;width: 100%;display: flex;" > <div style="height: 50px;width: 100%;display: flex;" >
<div class="tzqdItem"> <div class="tzqdItem text-ellipsis ">
物料名称:{{app.singleItem.wlxxName}} 物料名称:{{app.singleItem.wlxxName}}
</div> </div>
<div class="tzqdItem" > <div class="tzqdItem text-ellipsis " >
物料编码:{{app.singleItem.wlxxCode}} 物料编码:{{app.singleItem.wlxxCode}}
</div> </div>
<div class="tzqdItem" > <div class="tzqdItem text-ellipsis " >
物料规格:{{app.singleItem.wlxxGg}} 物料规格:{{app.singleItem.wlxxGg}}
</div> </div>
<div class="tzqdItem" > <div class="tzqdItem text-ellipsis " >
物料批号:{{app.singleItem.wlph}} 物料批号:{{app.singleItem.wlph}}
</div> </div>
<div class="tzqdItem" > <div class="tzqdItem text-ellipsis " >
制令号:{{app.singleItem.zlh}} 制令号:{{app.singleItem.zlh}}
</div> </div>
</div> </div>
...@@ -373,6 +373,11 @@ ...@@ -373,6 +373,11 @@
width: 50%; width: 50%;
height: 100%; height: 100%;
} }
.text-ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tzqdRight { .tzqdRight {
width: 50%; width: 50%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment