Commit 0293a0aa authored by 沈翠玲's avatar 沈翠玲

修复bug

parent 63c151f3
......@@ -5,7 +5,7 @@ VUE_APP_TITLE = 宝绅系统
ENV = 'development'
# 若依管理系统/开发环境
VUE_APP_BASE_API = 'http://192.168.3.91:8100'
VUE_APP_BASE_API = 'http://192.168.3.181:8100'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
......@@ -237,7 +237,7 @@ export default {
if (this.optType == "add") {
this.tableData.unshift(JSON.parse(JSON.stringify(this.form)));
}else if(this.optType == "edit"){
this.tableData[this.indexs]=JSON.parse(JSON.stringify(this.form));
this.$set(this.tableData, this.indexs, JSON.parse(JSON.stringify(this.form)))
}
this.showFlag = false;
}
......@@ -273,7 +273,7 @@ export default {
updateRow(index){
console.log(index);
this.indexs=index;
this.form = this.tableData[index];
this.form = JSON.parse(JSON.stringify(this.tableData[index]));
this.open = true;
this.optType = "edit";
},
......
......@@ -14,6 +14,10 @@
<el-input v-model="queryParams.workorderCode" placeholder="请输入工单编码" clearable
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="编排单号" prop="arrangeCode">
<el-input v-model="queryParams.arrangeCode" placeholder="请输入编排单号" clearable
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="产品物料编码" prop="sapItemCode">
<el-input v-model="queryParams.sapItemCode" placeholder="请输入产品物料编码" clearable
@keyup.enter.native="handleQuery" />
......@@ -77,6 +81,7 @@
</template>
</el-table-column>
<el-table-column label="工单编号" width="150px" align="center" prop="workorderCode" />
<el-table-column label="编排单号" width="150px" align="center" prop="arrangeCode" />
<el-table-column label="产品物料编码" width="120px" align="center" prop="sapItemCode" />
<el-table-column label="产品物料名称" width="150px" align="center" prop="itemName" :show-overflow-tooltip="true" />
<el-table-column label="规格型号" align="center" prop="specification" :show-overflow-tooltip="true" />
......@@ -353,6 +358,7 @@ export default {
templateId: null,
workorderId: null,
workorderCode: null,
arrangeCode: null,
workorderName: null,
taskId: null,
taskCode: null,
......@@ -454,6 +460,7 @@ export default {
templateId: null,
workorderId: null,
workorderCode: null,
arrangeCode: null,
workorderName: null,
taskId: null,
taskCode: null,
......
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