退料流程还是按照目前的流程,需要增加双方拍照上传的功能。
This commit is contained in:
parent
2443557a03
commit
8a4745e079
@ -98,7 +98,7 @@
|
||||
:disabled="allSelectRows.length === 0 || allSelectRows.filter(item => !item.isStock).length !== 0">
|
||||
通知领料
|
||||
</el-button>
|
||||
<el-button type="primary" v-else @click="handlePass"
|
||||
<el-button type="primary" v-else @click="handlePassBefore"
|
||||
:disabled="allSelectRows.length === 0 || allSelectRows.filter(item => !item.isStock).length !== 0">
|
||||
通知退料
|
||||
</el-button>
|
||||
@ -245,9 +245,9 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog title="通知领料" :visible.sync="inPhoto" width="40%" v-dialogDrag append-to-body>
|
||||
<el-dialog :title="type ? '通知领料' : '通知退料'" :visible.sync="inPhoto" width="40%" v-dialogDrag append-to-body>
|
||||
<el-form :inline="true" label-width="15rem">
|
||||
<el-form-item label="领料人">
|
||||
<el-form-item :label="type ? '领料人' : '退料人'">
|
||||
<el-select v-model="chooseStaff" multiple clearable filterable>
|
||||
<el-option v-for="staff in staffs" :key="staff.id" :value="staff.userId" :label="staff.userName" />
|
||||
</el-select>
|
||||
@ -419,7 +419,7 @@ export default {
|
||||
return item.replace(process.env.VUE_APP_FILE_API, "")
|
||||
}).join(",")
|
||||
}
|
||||
if (this.type && (!this.chooseStaff || this.chooseStaff.length === 0)){
|
||||
if ((!this.chooseStaff || this.chooseStaff.length === 0)){
|
||||
this.$modal.msgError("请选择领料人!")
|
||||
return
|
||||
}
|
||||
@ -431,7 +431,7 @@ export default {
|
||||
userName: this.formData.repairName,
|
||||
soTime: parseTime(Date.now(), '{y}-{m}-{d}'),
|
||||
soStatus: this.type ? "04" : "07",
|
||||
userIds: this.type ? this.chooseStaff.join(",") : ''
|
||||
userIds: this.chooseStaff.join(",")
|
||||
// purchaseType: "01"
|
||||
}
|
||||
this.formData.repairSois = [...this.allSelectRows.map(item => {
|
||||
|
Loading…
Reference in New Issue
Block a user