Browse Source

修改时间校验

branch_ccpg_220107
佐 张 3 years ago
parent
commit
061eaa9b3d
  1. 13
      vue/src/views/ux/billManage/vwOutOrder/detail.vue
  2. 21
      vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue
  3. 21
      vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue
  4. 12
      vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue
  5. 89
      vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue
  6. 21
      vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue
  7. 23
      vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue
  8. 23
      vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue

13
vue/src/views/ux/billManage/vwOutOrder/detail.vue

@ -111,24 +111,26 @@
:title="formTitle"
width="700px"
>
<el-form
ref="form"
<el-form
ref="accountDatelist"
:inline="true"
:model="form"
:model="accountDatelist"
:rules="rules"
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate">
<el-form-item label="日期" prop="accountDate" required>
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
clearable
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="dialogFormVisible = false"
>取消</el-button
@ -172,6 +174,9 @@ export default {
erpMaterialCode: [
{ required: true, message: "必须输入!", trigger: "blur" },
],
accountDate: [
{ required: true, message: "日期必须输入!", trigger: "blur" },
],
},
searchContent: "", //
customerInfo: {

21
vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue

@ -111,20 +111,22 @@
:title="formTitle"
width="700px"
>
<el-form
ref="form"
<el-form
ref="accountDatelist"
:inline="true"
:model="form"
:model="accountDatelist"
:rules="rules"
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate">
<el-form-item label="日期" prop="accountDate" required>
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
placeholder="选择日期">
</el-date-picker>
v-model="accountDatelist.accountDate"
type="date"
clearable
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
</el-form>
@ -173,6 +175,9 @@ export default {
erpMaterialCode: [
{ required: true, message: "必须输入!", trigger: "blur" },
],
accountDate: [
{ required: true, message: "日期必须输入!", trigger: "blur" },
],
},
searchContent: "", //
customerInfo: {

21
vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue

@ -111,20 +111,22 @@
:title="formTitle"
width="700px"
>
<el-form
ref="form"
<el-form
ref="accountDatelist"
:inline="true"
:model="form"
:model="accountDatelist"
:rules="rules"
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate">
<el-form-item label="日期" prop="accountDate" required>
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
placeholder="选择日期">
</el-date-picker>
v-model="accountDatelist.accountDate"
type="date"
clearable
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
</el-form>
@ -173,6 +175,9 @@ export default {
erpMaterialCode: [
{ required: true, message: "必须输入!", trigger: "blur" },
],
accountDate: [
{ required: true, message: "日期必须输入!", trigger: "blur" },
],
},
searchContent: "", //
customerInfo: {

12
vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue

@ -111,18 +111,19 @@
:title="formTitle"
width="700px"
>
<el-form
ref="form"
<el-form
ref="accountDatelist"
:inline="true"
:model="form"
:model="accountDatelist"
:rules="rules"
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate">
<el-form-item label="日期" prop="accountDate" required>
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
clearable
placeholder="选择日期"
>
</el-date-picker>
@ -172,6 +173,9 @@ export default {
erpMaterialCode: [
{ required: true, message: "必须输入!", trigger: "blur" },
],
accountDate: [
{ required: true, message: "日期必须输入!", trigger: "blur" },
],
},
searchContent: "", //
customerInfo: {

89
vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue

@ -112,19 +112,21 @@
width="700px"
>
<el-form
ref="form"
ref="accountDatelist"
:inline="true"
:model="form"
:model="accountDatelist"
:rules="rules"
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
placeholder="选择日期">
</el-date-picker>
<el-form-item label="日期" prop="accountDate" required>
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
clearable
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
</el-form>
@ -135,9 +137,7 @@
<el-button
v-loading="formLoading"
type="primary"
@click="handleCreateBills()"
>确认</el-button
>
</div>
@ -173,12 +173,14 @@ export default {
erpMaterialCode: [
{ required: true, message: "必须输入!", trigger: "blur" },
],
accountDate: [
{ required: true, message: "日期必须输入!", trigger: "blur" },
],
},
searchContent: "", //
customerInfo: {
parentId: "",
version: "",
accountDate: "",
},
form: {
dicDetailID: "",
@ -232,9 +234,9 @@ export default {
showExcelImport: false,
tableHeight: document.documentElement.clientHeight - 230,
isEdit: false,
accountDatelist:{
accountDate:""
}
accountDatelist: {
accountDate: "",
},
};
},
mounted() {
@ -377,38 +379,37 @@ export default {
//
handleCreateBills(row) {
this.dialogFormVisible = true;
this.listLoading = true;
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
//this.listOutPutQuery.accountDate = this.accountDatelist;
console.log(
"未选择时全部确认出库条件:" + JSON.stringify(this.listOutPutQuery)
);
this.listLoading = true;
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
//this.listOutPutQuery.accountDate = this.accountDatelist;
console.log(
"未选择时全部确认出库条件:" + JSON.stringify(this.listOutPutQuery)
);
this.$axios
.posts(
"/api/settleaccount/WmsHQHKanbanoutput/WmsHQHKanbanOutPut-Pass",
this.listOutPutQuery
)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "生成成功",
type: "success",
duration: 2000,
});
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
this.$axios
.posts(
"/api/settleaccount/WmsHQHKanbanoutput/WmsHQHKanbanOutPut-Pass",
this.listOutPutQuery
)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "生成成功",
type: "success",
duration: 2000,
});
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
},
/** 刷新列表 */
handleHandle(data) {

21
vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue

@ -111,20 +111,22 @@
:title="formTitle"
width="700px"
>
<el-form
ref="form"
<el-form
ref="accountDatelist"
:inline="true"
:model="form"
:model="accountDatelist"
:rules="rules"
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate">
<el-form-item label="日期" prop="accountDate" required>
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
placeholder="选择日期">
</el-date-picker>
v-model="accountDatelist.accountDate"
type="date"
clearable
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
</el-form>
@ -173,6 +175,9 @@ export default {
erpMaterialCode: [
{ required: true, message: "必须输入!", trigger: "blur" },
],
accountDate: [
{ required: true, message: "日期必须输入!", trigger: "blur" },
],
},
searchContent: "", //
customerInfo: {

23
vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue

@ -111,20 +111,22 @@
:title="formTitle"
width="700px"
>
<el-form
ref="form"
<el-form
ref="accountDatelist"
:inline="true"
:model="form"
:model="accountDatelist"
:rules="rules"
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
placeholder="选择日期">
</el-date-picker>
<el-form-item label="日期" prop="accountDate" required>
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
clearable
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
</el-form>
@ -173,6 +175,9 @@ export default {
erpMaterialCode: [
{ required: true, message: "必须输入!", trigger: "blur" },
],
accountDate: [
{ required: true, message: "日期必须输入!", trigger: "blur" },
],
},
searchContent: "", //
customerInfo: {

23
vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue

@ -111,20 +111,22 @@
:title="formTitle"
width="700px"
>
<el-form
ref="form"
<el-form
ref="accountDatelist"
:inline="true"
:model="form"
:model="accountDatelist"
:rules="rules"
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate">
<el-form-item label="日期" prop="accountDate" required>
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
placeholder="选择日期">
</el-date-picker>
v-model="accountDatelist.accountDate"
type="date"
clearable
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
</el-form>
@ -173,13 +175,16 @@ export default {
erpMaterialCode: [
{ required: true, message: "必须输入!", trigger: "blur" },
],
accountDate: [
{ required: true, message: "日期必须输入!", trigger: "blur" },
],
},
searchContent: "", //
customerInfo: {
parentId: "",
version: "",
},
form: {
dicDetailID: "",

Loading…
Cancel
Save