Browse Source

退料修改个字段

master
shenzhouyu 2 months ago
parent
commit
e2a08a764d
  1. 10
      src/views/modules/productionInbound/productionInboundRequest.vue

10
src/views/modules/productionInbound/productionInboundRequest.vue

@ -478,7 +478,7 @@
<el-col :span="24"> <el-col :span="24">
<el-form-item label="要求发料时间"> <el-form-item label="要求发料时间">
<el-date-picker <el-date-picker
v-model="xiadaNotifyData.planIssueDate"
v-model="xiadaNotifyData.planUnissueDate"
type="datetime" type="datetime"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd HH:mm:ss" format="yyyy-MM-dd HH:mm:ss"
@ -1361,7 +1361,7 @@ export default {
chooseLoading: false, chooseLoading: false,
showXiadaNotifyDialog: false, showXiadaNotifyDialog: false,
xiadaNotifyData: { xiadaNotifyData: {
planIssueDate: '',
planUnissueDate: '',
remark: '', remark: '',
}, },
} }
@ -2113,7 +2113,7 @@ export default {
} }
// //
this.xiadaNotifyData = { this.xiadaNotifyData = {
planIssueDate: this.notifyData.planIssueDate || this.dayjs().format('YYYY-MM-DD HH:mm:ss'),
planUnissueDate: this.notifyData.planUnissueDate || this.dayjs().format('YYYY-MM-DD HH:mm:ss'),
remark: this.notifyData.remark || '', remark: this.notifyData.remark || '',
} }
// //
@ -2131,14 +2131,14 @@ export default {
return false return false
} }
// //
if (!this.xiadaNotifyData.planIssueDate || this.xiadaNotifyData.planIssueDate === '') {
if (!this.xiadaNotifyData.planUnissueDate || this.xiadaNotifyData.planUnissueDate === '') {
this.$message.warning('请选择要求发料时间!') this.$message.warning('请选择要求发料时间!')
return false return false
} }
// //
const notifyData = { const notifyData = {
...this.notifyData, ...this.notifyData,
planIssueDate: this.xiadaNotifyData.planIssueDate,
planUnissueDate: this.xiadaNotifyData.planUnissueDate,
remark: this.xiadaNotifyData.remark, remark: this.xiadaNotifyData.remark,
} }
// //

Loading…
Cancel
Save