|
|
|
@ -478,7 +478,7 @@ |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="要求发料时间"> |
|
|
|
<el-date-picker |
|
|
|
v-model="xiadaNotifyData.planIssueDate" |
|
|
|
v-model="xiadaNotifyData.planUnissueDate" |
|
|
|
type="datetime" |
|
|
|
value-format="yyyy-MM-dd HH:mm:ss" |
|
|
|
format="yyyy-MM-dd HH:mm:ss" |
|
|
|
@ -1361,7 +1361,7 @@ export default { |
|
|
|
chooseLoading: false, |
|
|
|
showXiadaNotifyDialog: false, |
|
|
|
xiadaNotifyData: { |
|
|
|
planIssueDate: '', |
|
|
|
planUnissueDate: '', |
|
|
|
remark: '', |
|
|
|
}, |
|
|
|
} |
|
|
|
@ -2113,7 +2113,7 @@ export default { |
|
|
|
} |
|
|
|
// 初始化弹框数据 |
|
|
|
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 || '', |
|
|
|
} |
|
|
|
// 打开弹框 |
|
|
|
@ -2131,14 +2131,14 @@ export default { |
|
|
|
return false |
|
|
|
} |
|
|
|
// 验证要求发料时间 |
|
|
|
if (!this.xiadaNotifyData.planIssueDate || this.xiadaNotifyData.planIssueDate === '') { |
|
|
|
if (!this.xiadaNotifyData.planUnissueDate || this.xiadaNotifyData.planUnissueDate === '') { |
|
|
|
this.$message.warning('请选择要求发料时间!') |
|
|
|
return false |
|
|
|
} |
|
|
|
// 准备下达数据 |
|
|
|
const notifyData = { |
|
|
|
...this.notifyData, |
|
|
|
planIssueDate: this.xiadaNotifyData.planIssueDate, |
|
|
|
planUnissueDate: this.xiadaNotifyData.planUnissueDate, |
|
|
|
remark: this.xiadaNotifyData.remark, |
|
|
|
} |
|
|
|
// 执行下达操作 |
|
|
|
|