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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save