jbb преди 2 години
родител
ревизия
26325c7140
променени са 3 файла, в които са добавени 34 реда и са изтрити 0 реда
  1. 10 0
      src/views/advance-packingList/adPaList-clothes.vue
  2. 11 0
      src/views/packing-list/clothes-list.vue
  3. 13 0
      src/views/packing-list/fabric-list.vue

+ 10 - 0
src/views/advance-packingList/adPaList-clothes.vue

@@ -93,6 +93,15 @@
                 <a-input placeholder="请输入预托书号" v-model="queryParam.depositaryReceiptNo"></a-input>
               </a-form-item>
             </a-col>
+            <a-col :md="6" :sm="8">
+                <a-form-item label="是否提交">
+                  <a-select v-model="queryParam.status">
+                    <a-select-option value="">请选择</a-select-option>
+                    <a-select-option value="0">否</a-select-option>
+                    <a-select-option value="1">是</a-select-option>
+                  </a-select>
+                </a-form-item>
+              </a-col>
 
             </template>
 
@@ -531,6 +540,7 @@ export default {
     getadPaListClothes() {
       console.log(this.queryParam)
       this.$nextTick(() => {
+        this.loading = true
         getadPaList(this.queryParam).then(res => {
           this.loading = false
           if (res.success) {

+ 11 - 0
src/views/packing-list/clothes-list.vue

@@ -77,6 +77,15 @@
                 />
                </a-form-item>
               </a-col>
+              <a-col :md="6" :sm="8">
+                <a-form-item label="是否提交">
+                  <a-select v-model="queryParam.status">
+                    <a-select-option value="">请选择</a-select-option>
+                    <a-select-option value="0">否</a-select-option>
+                    <a-select-option value="1">是</a-select-option>
+                  </a-select>
+                </a-form-item>
+              </a-col>
             </template>
 
             <a-col :md="6" :sm="8">
@@ -533,7 +542,9 @@ export default {
      var that = this;
       this.$nextTick(() => {
         this.queryParam.pageSize=20
+         this.loading = true
         spltList(this.queryParam).then(res => {
+           this.loading = false
           if (res.success) {
             that.clothesListData = res.result.records;
             that.clothesListData.map(item => {

+ 13 - 0
src/views/packing-list/fabric-list.vue

@@ -30,6 +30,17 @@
                 <a-input placeholder="请输入外销发票号" v-model="queryParam.exportInvoiceNo"></a-input>
               </a-form-item>
             </a-col>
+             <template v-if="toggleSearchStatus">
+                <a-col :md="6" :sm="8">
+                <a-form-item label="是否提交">
+                  <a-select v-model="queryParam.status">
+                    <a-select-option value="">请选择</a-select-option>
+                    <a-select-option value="0">否</a-select-option>
+                    <a-select-option value="1">是</a-select-option>
+                  </a-select>
+                </a-form-item>
+              </a-col>
+             </template>
 
             <a-col :md="6" :sm="8">
               <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
@@ -348,7 +359,9 @@ export default {
     getFabricList(){
        this.$nextTick(() => {
          this.queryParam.pageSize = 20
+          this.loading = true
         fabricList(this.queryParam).then(res => {
+           this.loading = false
           if (res.success) {
             this.fabricListData = res.result.records;
             this.loading = false