diff --git a/warehousing-system/project_web_ui-xxs/src/views/component/initial_value/add/productAdd.vue b/warehousing-system/project_web_ui-xxs/src/views/component/initial_value/add/productAdd.vue index f94f2b09..ae0fe399 100644 --- a/warehousing-system/project_web_ui-xxs/src/views/component/initial_value/add/productAdd.vue +++ b/warehousing-system/project_web_ui-xxs/src/views/component/initial_value/add/productAdd.vue @@ -17,12 +17,12 @@
条码: - - 随机 + +
商品名: - +
别名: @@ -108,15 +108,16 @@ } }, showEdit(row) { + console.log(row); this.viewTitle = "【修改】产品信息"; this.disabledCode=true this.locationForm=row }, async updataProduct () { - this.locationForm = { - name: "", - anotherName: "", - } + // this.locationForm = { + // name: "", + // anotherName: "", + // } const { data: result } = await this.$http.put('/product/updataProduct', this.locationForm) if (result.status !== 200) return this.$message.error('更新数据失败') this.$message.success('更新成功') diff --git a/warehousing-system/project_web_ui-xxs/src/views/component/outStorehouseManagement/add/outListAdd.vue b/warehousing-system/project_web_ui-xxs/src/views/component/outStorehouseManagement/add/outListAdd.vue index 78fe3983..a71cb8c1 100644 --- a/warehousing-system/project_web_ui-xxs/src/views/component/outStorehouseManagement/add/outListAdd.vue +++ b/warehousing-system/project_web_ui-xxs/src/views/component/outStorehouseManagement/add/outListAdd.vue @@ -195,7 +195,7 @@ storeHouseSid:"", custerName:'', custerSid:'', - list:[], + list:[] // outDate:"" }, zhiwuName:"", @@ -329,8 +329,24 @@ addStorehouse(){ this.$refs.dataForm.validate(async validate => { if (!validate) return this.$message.error('请填写必填项') + var purList= this.purchaseForm.list; + var f=false; + for(let i=0;i