|
|
@ -5,7 +5,7 @@
|
|
|
|
<el-button-group style="display: flex;margin-bottom: 15px; margin-right: 50px">
|
|
|
|
<el-button-group style="display: flex;margin-bottom: 15px; margin-right: 50px">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
@click.native="saveOrder('2')"
|
|
|
|
@click.native="saveOrder('1')"
|
|
|
|
:loading="loading"
|
|
|
|
:loading="loading"
|
|
|
|
>提交单据
|
|
|
|
>提交单据
|
|
|
|
</el-button
|
|
|
|
</el-button
|
|
|
@ -293,16 +293,7 @@ export default {
|
|
|
|
tableRowClassName({row, rowIndex}) {
|
|
|
|
tableRowClassName({row, rowIndex}) {
|
|
|
|
row.index = rowIndex;
|
|
|
|
row.index = rowIndex;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 刷新表单
|
|
|
|
|
|
|
|
resetForm() {
|
|
|
|
|
|
|
|
if (this.$refs["dataForm"]) {
|
|
|
|
|
|
|
|
// 清空验证信息表单
|
|
|
|
|
|
|
|
this.$refs["dataForm"].clearValidate();
|
|
|
|
|
|
|
|
// 刷新表单
|
|
|
|
|
|
|
|
this.$refs["dataForm"].resetFields();
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
deleteCodeArray(index, row) {
|
|
|
|
deleteCodeArray(index, row) {
|
|
|
|
this.$confirm("此操作将永久删除该数据, 是否继续?", "提示", {
|
|
|
|
this.$confirm("此操作将永久删除该数据, 是否继续?", "提示", {
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
confirmButtonText: "确定",
|
|
|
@ -367,7 +358,6 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
|
|
if (this.$isNotBlank(this.idQuery.id)) {
|
|
|
|
if (this.$isNotBlank(this.idQuery.id)) {
|
|
|
|
this.query.limit = 100;
|
|
|
|
this.query.limit = 100;
|
|
|
|
this.query.orderIdFk = this.idQuery.id;
|
|
|
|
this.query.orderIdFk = this.idQuery.id;
|
|
|
@ -376,7 +366,6 @@ export default {
|
|
|
|
this.formData.billDate = this.idQuery.formData.createTime;
|
|
|
|
this.formData.billDate = this.idQuery.formData.createTime;
|
|
|
|
this.orderEditor = true;
|
|
|
|
this.orderEditor = true;
|
|
|
|
this.sValue = this.formData.corpName;
|
|
|
|
this.sValue = this.formData.corpName;
|
|
|
|
this.getStockOrderDetailList();
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.formData = {
|
|
|
|
this.formData = {
|
|
|
|
id: null,
|
|
|
|
id: null,
|
|
|
|