入库管理-修试入库优化
This commit is contained in:
parent
82e59ac310
commit
2e59c9e2c6
|
|
@ -17,6 +17,7 @@
|
|||
@change="GetProData"
|
||||
style="width: 240px"
|
||||
placeholder="请选择"
|
||||
:disabled="isEdit"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in unitList"
|
||||
|
|
@ -35,6 +36,7 @@
|
|||
@change="GetUnitData"
|
||||
style="width: 240px"
|
||||
placeholder="请选择"
|
||||
:disabled="isEdit"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in proList"
|
||||
|
|
@ -277,6 +279,9 @@ export default {
|
|||
agreementId: {
|
||||
type: [String, Number],
|
||||
},
|
||||
isEdit: {
|
||||
type: Boolean,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
const validatePhone = (rule, value, callback) => {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
:is="isShowComponent"
|
||||
:rejectId="rejectId"
|
||||
:agreementId="agreementId"
|
||||
:isEdit="isEdit"
|
||||
@returnApply="returnApply"
|
||||
@rejectSubmit="rejectSubmit"
|
||||
@goBackPage="goBack"
|
||||
|
|
@ -36,6 +37,7 @@ export default {
|
|||
rejectId: '',
|
||||
agreementId: '',
|
||||
isView: false,
|
||||
isEdit: false,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -44,11 +46,13 @@ export default {
|
|||
this.rejectId = ''
|
||||
this.pageContent = '新建退料任务'
|
||||
this.isShowComponent = 'AddReturn'
|
||||
this.isEdit = false
|
||||
},
|
||||
// 驳回提交
|
||||
rejectSubmit({id, agreementId}) {
|
||||
this.rejectId = id
|
||||
this.agreementId = agreementId
|
||||
this.isEdit = true
|
||||
this.pageContent = '编辑退料任务'
|
||||
this.isShowComponent = 'AddReturn'
|
||||
},
|
||||
|
|
|
|||
|
|
@ -342,7 +342,8 @@
|
|||
@selection-change="handleSelectionChange"
|
||||
height="400"
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column type="selection" width="55" align="center" :selectable="
|
||||
(row, index) => row.status == '进行中' && row.userIds.includes(userId)" />
|
||||
<el-table-column
|
||||
label="序号"
|
||||
align="center"
|
||||
|
|
|
|||
Loading…
Reference in New Issue