Sfoglia il codice sorgente

销售单 单据来源

chenrui 3 anni fa
parent
commit
f600a1c206
1 ha cambiato i file con 14 aggiunte e 2 eliminazioni
  1. 14 2
      src/views/salesManagement/salesQuery/list.vue

+ 14 - 2
src/views/salesManagement/salesQuery/list.vue

@@ -59,6 +59,17 @@
                     allowClear></v-select>
                 </a-form-item>
               </a-col>
+              <a-col :md="6" :sm="24">
+                <a-form-item label="单据来源">
+                  <v-select
+                    v-model="queryParam.salesBillSource"
+                    ref="salesBillSource"
+                    id="salesManagementList-salesBillSource"
+                    code="SALES_SOURCE"
+                    placeholder="请选择单据来源"
+                    allowClear></v-select>
+                </a-form-item>
+              </a-col>
               <a-col :md="6" :sm="24">
                 <a-form-model-item label="所在区域">
                   <subarea id="salesManagementList-subarea" v-model="queryParam.subareaSn"></subarea>
@@ -121,7 +132,7 @@
         :rowKey="(record) => record.id"
         :columns="columns"
         :data="loadData"
-        :scroll="{ x: 1700, y: tableHeight }"
+        :scroll="{ x: 1620, y: tableHeight }"
         bordered>
         <!-- 销售单号 -->
         <template slot="salesBillNo" slot-scope="text, record">
@@ -236,6 +247,7 @@ export default {
         printStatus: undefined,
         billStatus: undefined, //  业务状态
         financialStatus: undefined, //  财务状态
+        salesBillSource: undefined,
         subareaSn: undefined,
         shippingAddrProvinceSn: undefined
       },
@@ -257,7 +269,6 @@ export default {
       columns: [
         { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
         { title: '创建时间', dataIndex: 'createDate', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '单据来源', dataIndex: 'salesBillSourceDictValue', width: 80, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '销售单号', scopedSlots: { customRender: 'salesBillNo' }, width: 120, align: 'center' },
         { title: '采购单号', dataIndex: 'purchaseBillNo', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '客户名称', dataIndex: 'buyerName', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
@@ -396,6 +407,7 @@ export default {
       this.queryParam.printStatus = undefined
       this.queryParam.billStatus = undefined
       this.queryParam.financialStatus = undefined
+      this.queryParam.salesBillSource = undefined
       this.queryParam.subareaSn = undefined
       this.queryParam.shippingAddrProvinceSn = undefined
       this.$refs.table.refresh(true)