|
@ -112,18 +112,20 @@ |
|
|
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 |
|
|
|
|
|
placeholder="选择日期" |
|
|
|
|
|
> |
|
|
</el-date-picker> |
|
|
</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() { |
|
@ -408,7 +410,6 @@ export default { |
|
|
.catch(() => { |
|
|
.catch(() => { |
|
|
this.listLoading = false; |
|
|
this.listLoading = false; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
/** 刷新列表 */ |
|
|
/** 刷新列表 */ |
|
|
handleHandle(data) { |
|
|
handleHandle(data) { |
|
|