zhouhao 2 vuotta sitten
vanhempi
commit
045b195935

+ 1 - 1
src/components/SalesHeader/SalesHeader.vue

@@ -35,7 +35,7 @@
           </el-form-item>
         </el-col>
         <el-col :xs="24" :ms="6" :lg="6">
-          <el-form-item label="发货仓库名称" prop="code">
+          <el-form-item label="发货仓库名称" prop="stockType">
             <el-select v-model="screenForm.stockType" placeholder="请选择" clearable>
               <el-option
                 label="前置仓"

+ 3 - 1
src/views/sales/sales_management/components/customer_sales_form.vue

@@ -111,6 +111,8 @@ export default {
       this.dataList = selected
       this.$refs.header.screenForm.customerName = this.dataList[0].customerName
       this.$refs.header.screenForm.customerNumber = this.dataList[0].customerNumber
+      this.$refs.header.screenForm.stockType = this.dataList[0].stockType
+      this.$refs.header.screenForm.id = this.dataList[0].id
       this.customerNumber = this.dataList[0].customerNumber
       this.dialogVisible = false
 
@@ -138,7 +140,7 @@ export default {
       })
       const params = {
         ...this.$refs.header.screenForm,
-        
+
         orders: this.dataList
       }
       addFrontOrder(params).then(res => {