Browse Source

货架监控

lilei 3 năm trước cách đây
mục cha
commit
5dc67530ba

+ 3 - 4
src/views/numsGoodsShelves/shelfMonitoring/list.vue

@@ -278,16 +278,15 @@ export default {
     //  重置
     resetSearchForm () {
       this.isSearch = false
-      this.queryParam.shelfSn = undefined
-      this.$refs.shelfList.resetForm()
+      // this.queryParam.shelfSn = undefined
+      // this.$refs.shelfList.resetForm()
       this.queryParam.shelfPlaceCode = ''
       this.queryParam.productCode = ''
       this.queryParam.productName = ''
       this.queryParam.state = undefined
       this.queryParam.beginDate = undefined
       this.queryParam.endDate = undefined
-      this.$refs.ruleForm.resetFields()
-      this.$refs.table.clearTable()
+      this.handleSearch()
     },
     // 新增调回单
     handleAddBack () {

+ 3 - 3
src/views/numsGoodsShelves/shelfMonitoring/warehouseDetail.vue

@@ -25,7 +25,7 @@
                     v-model="queryParam.bizType"
                     ref="bizType"
                     id="shelfMonitoringWarehousing-bizType"
-                    code="FINANCIAL_PAY_STATUS"
+                    code="STOCK_BIZ_TYPE"
                     placeholder="请选择关联单据类型"
                     allowClear></v-select>
                 </a-form-item>
@@ -90,8 +90,8 @@ export default {
         { title: '产品名称', dataIndex: 'productName', width: '24%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '关联单据类型', dataIndex: 'bizTypeDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '关联单据号', dataIndex: 'bizNo', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '数量', dataIndex: 'qty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '状态', dataIndex: 'stateDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } }
+        { title: '数量', dataIndex: 'qty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }
+        // { title: '状态', dataIndex: 'stateDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {