Browse Source

增加筛选条件

jbb 2 years ago
parent
commit
26325c7140

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

@@ -93,6 +93,15 @@
                 <a-input placeholder="请输入预托书号" v-model="queryParam.depositaryReceiptNo"></a-input>
                 <a-input placeholder="请输入预托书号" v-model="queryParam.depositaryReceiptNo"></a-input>
               </a-form-item>
               </a-form-item>
             </a-col>
             </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>
             </template>
 
 
@@ -531,6 +540,7 @@ export default {
     getadPaListClothes() {
     getadPaListClothes() {
       console.log(this.queryParam)
       console.log(this.queryParam)
       this.$nextTick(() => {
       this.$nextTick(() => {
+        this.loading = true
         getadPaList(this.queryParam).then(res => {
         getadPaList(this.queryParam).then(res => {
           this.loading = false
           this.loading = false
           if (res.success) {
           if (res.success) {

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

@@ -77,6 +77,15 @@
                 />
                 />
                </a-form-item>
                </a-form-item>
               </a-col>
               </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>
             </template>
 
 
             <a-col :md="6" :sm="8">
             <a-col :md="6" :sm="8">
@@ -533,7 +542,9 @@ export default {
      var that = this;
      var that = this;
       this.$nextTick(() => {
       this.$nextTick(() => {
         this.queryParam.pageSize=20
         this.queryParam.pageSize=20
+         this.loading = true
         spltList(this.queryParam).then(res => {
         spltList(this.queryParam).then(res => {
+           this.loading = false
           if (res.success) {
           if (res.success) {
             that.clothesListData = res.result.records;
             that.clothesListData = res.result.records;
             that.clothesListData.map(item => {
             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-input placeholder="请输入外销发票号" v-model="queryParam.exportInvoiceNo"></a-input>
               </a-form-item>
               </a-form-item>
             </a-col>
             </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">
             <a-col :md="6" :sm="8">
               <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
               <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
@@ -348,7 +359,9 @@ export default {
     getFabricList(){
     getFabricList(){
        this.$nextTick(() => {
        this.$nextTick(() => {
          this.queryParam.pageSize = 20
          this.queryParam.pageSize = 20
+          this.loading = true
         fabricList(this.queryParam).then(res => {
         fabricList(this.queryParam).then(res => {
+           this.loading = false
           if (res.success) {
           if (res.success) {
             this.fabricListData = res.result.records;
             this.fabricListData = res.result.records;
             this.loading = false
             this.loading = false