|
|
@@ -682,12 +682,12 @@ export default {
|
|
|
async created() {
|
|
|
this.option = await this.getColumnData(this.getColumnName(487), this.optionBack);
|
|
|
this.containerOption = await this.getColumnData(this.getColumnName(488), this.containerOptionBack);
|
|
|
- isProcurement({ param: "is.occupyNum" }).then(res => {
|
|
|
- if (res.data.data == 1) {
|
|
|
- this.containerOption.menu = true;
|
|
|
- this.isOccupyNum = true;
|
|
|
- }
|
|
|
- });
|
|
|
+ // isProcurement({ param: "is.occupyNum" }).then(res => {
|
|
|
+ // if (res.data.data == 1) {
|
|
|
+ // this.containerOption.menu = true;
|
|
|
+ // this.isOccupyNum = true;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
},
|
|
|
methods: {
|
|
|
sendEdi() {
|
|
|
@@ -1335,9 +1335,9 @@ export default {
|
|
|
* 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
|
|
|
*/
|
|
|
const inSave = await this.saveColumnData(this.getColumnName(code), this[option]);
|
|
|
- if (this.isOccupyNum == true) {
|
|
|
- this.containerOption.menu = true;
|
|
|
- }
|
|
|
+ // if (this.isOccupyNum == true) {
|
|
|
+ // this.containerOption.menu = true;
|
|
|
+ // }
|
|
|
if (inSave) {
|
|
|
this.$message.success("保存成功");
|
|
|
//关闭窗口
|
|
|
@@ -1348,9 +1348,9 @@ export default {
|
|
|
async resetColumnTwo(ref, option, optionBack, code) {
|
|
|
this[option] = this[optionBack];
|
|
|
const inSave = await this.delColumnData(this.getColumnName(code), this[optionBack]);
|
|
|
- if (this.isOccupyNum == true) {
|
|
|
- this.containerOption.menu = true;
|
|
|
- }
|
|
|
+ // if (this.isOccupyNum == true) {
|
|
|
+ // this.containerOption.menu = true;
|
|
|
+ // }
|
|
|
if (inSave) {
|
|
|
this.$message.success("重置成功");
|
|
|
this.$refs[ref].$refs.dialogColumn.columnBox = false;
|