guarantee-lsq 1 year ago
parent
commit
c4ae16f8cb

+ 4 - 4
src/views/purchase/purchase-order-page/PurchaseOrderPage.vue

@@ -5,8 +5,8 @@
         <a-form layout="inline">
           <a-row :gutter="48">
             <a-col :md="8" :sm="24">
-              <a-form-item label="关键字">
-                <a-input v-model.trim="queryParam.keyword" placeholder="请输入名称/类型名称"/>
+              <a-form-item label="申请人">
+                <a-input v-model.trim="queryParam.keyword" placeholder="请输入申请人"/>
               </a-form-item>
             </a-col>
             <a-col :md="8 || 24" :sm="24">
@@ -52,7 +52,7 @@
             @click="handleEdit(record)"
           >修改</operation-button>
           <operation-button
-            v-if=" record.status===1"
+            v-if=" record.status===1 || record.status === 0"
             @click="handlePush(record)"
           >推送</operation-button>
           <operation-button
@@ -60,7 +60,7 @@
             @click="handleViewPurchase(record)"
           >同步</operation-button>
           <operation-button
-            v-if=" record.status>=3"
+            v-if=" record.status>=0"
             :type="2"
             title="是否要删除该条数据?"
             @confirm="batchDelete(record.yongYouId)">删除</operation-button>

+ 1 - 1
src/views/purchase/purchase-order-page/modules/BaseForm.vue

@@ -102,7 +102,7 @@
                   v-for="(label,value) in deptMap"
                   :key="value"
                   :label="label"
-                  :value="parseInt(value)">{{ label }}
+                  :value="value">{{ label }}
                 </a-select-option>
               </a-select>
             </a-form-item>