howie 2 anni fa
parent
commit
32eba227e5
1 ha cambiato i file con 16 aggiunte e 6 eliminazioni
  1. 16 6
      src/views/supply/policy/components/retail_form.vue

+ 16 - 6
src/views/supply/policy/components/retail_form.vue

@@ -492,7 +492,7 @@
                   v-model="screenForm.specification"
                   placeholder="请输入型号规格型号"
                 />
-                <el-button type="primary" size="mini" @click="handleGetPolicyList">查询</el-button>
+                <el-button style="margin-left:10px" type="primary" size="mini" @click="handleGetPolicyList">查询</el-button>
 
                 </div>
               </el-form-item>
@@ -524,7 +524,16 @@
                 </el-select>
               </el-form-item>
             </el-col>
-
+            <el-col :xs="24" :sm="8" :lg="11">
+              <el-form-item label="规格型号">
+                <div style="display:flex">
+                  <el-input
+                  v-model="screenForm.specifications"
+                  placeholder="请输入型号规格型号"
+                />
+                </div>
+              </el-form-item>
+            </el-col>
             <el-col :xs="24" :sm="12" :lg="11">
               <el-form-item label="销售类型">
                 <el-select
@@ -544,7 +553,7 @@
               </el-form-item>
             </el-col>
 
-            <el-col :xs="24" :sm="12" :lg="11" class="tr">
+            <el-col :xs="22" :sm="22" :lg="22" class="tr">
               <!-- <el-button
                 type="primary"
                 size="small"
@@ -862,6 +871,7 @@ export default {
         saleTypeCode: "",
         factorId: "",
         specification: "",
+        specifications:""
       },
       currentPage: 1,
       listTotal: 0,
@@ -1216,7 +1226,7 @@ export default {
         pageNum: 1,
         pageSize: -1,
         customerId: JSON.parse(localStorage.getItem("supply_user")).customerId,
-        specification: this.screenForm.specification,
+     specification: this.screenForm.specifications,
       })
        this.policyList = data.records
         if (data.records.length) {
@@ -1249,7 +1259,7 @@ export default {
         pageSize: -1,
         policyConditionId,
         popType,
-        // specification: this.screenForm.specification,
+         specification: this.screenForm.specifications,
         saleTypeCode: this.screenForm.saleTypeCode,
         customerId:  JSON.parse(localStorage.getItem("supply_user")).customerId,
       });
@@ -1321,7 +1331,7 @@ export default {
         pageSize: -1,
         policyId: this.screenForm.policyId,
         saleTypeCode: this.screenForm.saleTypeCode,
-        // specification: this.screenForm.specification,
+         specification: this.screenForm.specifications,
         customerId:  JSON.parse(localStorage.getItem("supply_user")).customerId,
         [val]: true,
       }).then((res) => {