|
@@ -12,9 +12,9 @@
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-item label="单据状态">
|
|
|
<v-select
|
|
|
- v-model="queryParam.state"
|
|
|
- ref="state"
|
|
|
- id="warehousingConfirmationList-state"
|
|
|
+ v-model="queryParam.auditState"
|
|
|
+ ref="auditState"
|
|
|
+ id="warehousingConfirmationList-auditState"
|
|
|
code="PUT_CONFIRM_STATE"
|
|
|
placeholder="请选择单据状态"
|
|
|
allowClear></v-select>
|
|
@@ -53,7 +53,7 @@
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="link"
|
|
|
- v-if="record.state=='WAIT'"
|
|
|
+ v-if="record.auditState=='WAIT'"
|
|
|
class="button-warning"
|
|
|
@click="handleAudit(record)"
|
|
|
id="warehousingConfirmationList-audit-btn">入库确认</a-button>
|
|
@@ -75,7 +75,7 @@ export default {
|
|
|
return {
|
|
|
queryParam: { // 查询条件
|
|
|
stockPutNo: '', // 入库单号
|
|
|
- state: undefined // 状态
|
|
|
+ auditState: undefined // 状态
|
|
|
},
|
|
|
tableHeight: 0,
|
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
@@ -123,7 +123,7 @@ export default {
|
|
|
},
|
|
|
getCheckboxProps: record => ({
|
|
|
props: {
|
|
|
- disabled: record.state != 'WAIT'
|
|
|
+ disabled: record.auditState != 'WAIT'
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -133,7 +133,7 @@ export default {
|
|
|
// 重置
|
|
|
resetSearchForm () {
|
|
|
this.queryParam.stockPutNo = ''
|
|
|
- this.queryParam.state = undefined
|
|
|
+ this.queryParam.auditState = undefined
|
|
|
this.$refs.table.refresh(true)
|
|
|
},
|
|
|
// 详情
|