Commit 1fcaa29b authored by 赵汉亭's avatar 赵汉亭

样品申请修改

parent 0144e0f6
...@@ -147,6 +147,15 @@ ...@@ -147,6 +147,15 @@
v-if="columns[5].visible" v-if="columns[5].visible"
width="120" width="120"
/> />
<el-table-column
label="备注"
align="center"
key="remark"
prop="remark"
v-if="columns[7].visible"
:show-overflow-tooltip="true"
width="160"
/>
<el-table-column <el-table-column
label="创建时间" label="创建时间"
align="center" align="center"
...@@ -236,6 +245,7 @@ export default { ...@@ -236,6 +245,7 @@ export default {
{ key: 4, label: `物料/产品`, visible: true }, { key: 4, label: `物料/产品`, visible: true },
{ key: 5, label: `物料分类`, visible: true }, { key: 5, label: `物料分类`, visible: true },
{ key: 6, label: `创建时间`, visible: true }, { key: 6, label: `创建时间`, visible: true },
{ key: 7, label: `备注`, visible: true },
], ],
}; };
}, },
......
...@@ -121,11 +121,11 @@ ...@@ -121,11 +121,11 @@
> >
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="产品" prop="itemId"> <el-form-item label="物料" prop="itemId">
<el-input <el-input
v-model="form.itemName" v-model="form.itemName"
readonly readonly
placeholder="请选择产品" placeholder="请选择物料"
> >
<el-button <el-button
slot="append" slot="append"
...@@ -289,7 +289,8 @@ export default { ...@@ -289,7 +289,8 @@ export default {
if (row != undefined && row != null) { if (row != undefined && row != null) {
this.form.itemId = row.itemId; this.form.itemId = row.itemId;
this.form.itemName = row.itemName; this.form.itemName = row.itemName;
this.form.unit = row.unitOfMeasure; this.form.unitOfMeasure = row.unitOfMeasure;
this.form.itemRemark = row.remark;
} }
}, },
/**表单提交 */ /**表单提交 */
...@@ -323,8 +324,8 @@ export default { ...@@ -323,8 +324,8 @@ export default {
}, },
/**重置组件状态 */ /**重置组件状态 */
resetState() { resetState() {
this.resetForm() this.resetForm();
this.tableData = [] this.tableData = [];
}, },
/**获取组件数据 */ /**获取组件数据 */
getComData() { getComData() {
......
...@@ -310,7 +310,7 @@ export default { ...@@ -310,7 +310,7 @@ export default {
processList, processList,
}; };
this.loading = true; this.loading = true;
if (mode == "apply") { if (this.mode == "apply") {
addPrototypeRequest(params) addPrototypeRequest(params)
.then((res) => { .then((res) => {
this.loading = false; this.loading = false;
......
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