-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
查询
- 新增单据
+ 新增单据
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -264,8 +270,10 @@
:show-overflow-tooltip="item.tooltip"
:key="item.columnName"
>
-
- {{ item.lableRuleObj[scope.row[item.columnName]] }}
+
+ {{
+ item.lableRuleObj[scope.row[item.columnName]]
+ }}
-
-
- {{ item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName] }}
+
+
+ {{
+ item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName]
+ }}
@@ -314,7 +325,9 @@
:key="item.columnName"
>
- {{ scope.row[item.columnName] }}
+ {{
+ scope.row[item.columnName]
+ }}
@@ -376,7 +389,7 @@ import {getLocalJoinByUserOptimize} from "@/api/basic/busType";
import {selectSysParamByKey} from "@/api/param/systemParamConfig";
import {getDeptListByUser} from "@/api/auth/authDept";
import {
- getHead,executeFuc
+ getHead, executeFuc
} from "@/utils/customConfig";
export default {
@@ -421,13 +434,13 @@ export default {
codeDetailVisible: false,
addOrderVisible: false,
total: 0,
- tableHeader:[],
- queryList:[],
- fromList:[],
+ tableHeader: [],
+ queryList: [],
+ fromList: [],
options: {
- getInvList:[],
- getDeptList:[],
- getBusType:[],
+ getInvList: [],
+ getDeptList: [],
+ getBusType: [],
},
loading: false,
index: null,
@@ -451,7 +464,7 @@ export default {
"11": "仓库盘点",
"12": "采购计划",
"13": "领用单据",
- "14": "第三方系统单据","15":"采购订单"
+ "14": "第三方系统单据", "15": "采购订单"
},
deleteData: {
billNo: "",
@@ -517,7 +530,7 @@ export default {
endTime: null,
invCode: this.$store.getters.locInvCode,
};
- if(invCode!=this.$store.getters.locInvCode){
+ if (invCode != this.$store.getters.locInvCode) {
this.getBusType(this);
}
@@ -564,16 +577,18 @@ export default {
.catch(() => {
});
},
- addOrders(_this,row) {
- if(_this == null){
+ addOrders(_this, row) {
+ if (_this == null) {
_this = this
}
_this.errView = 0;
_this.idQuery = {};
- _this.idQuery = row;
if (row != null && row.status === 4) {
_this.errView = 1;
+ _this.idQuery = row;
}
+ if (row != null)
+ _this.idQuery = row;
_this.addOrderVisible = true;
},
closeDialog() {
@@ -595,7 +610,7 @@ export default {
getList() {
this.loading = true;
this.filterQuery.vueType = "supDelivery";
- this.filterQuery.busType=null;
+ this.filterQuery.busType = null;
getOrderList(this.filterQuery)
.then((response) => {
this.loading = false;
@@ -634,19 +649,19 @@ export default {
.catch(() => {
});
},
- deleteDialog(_this,rowId) {
+ deleteDialog(_this, row) {
_this.$confirm("此操作将永久删除该订单, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
- _this.deleteOrders(rowId);
+ _this.deleteOrders(row.billNo);
})
.catch(() => {
});
},
- onUpload(_this,data) {
+ onUpload(_this, data) {
_this.loading = true;
var idQuery = {
billNo: "",
@@ -695,11 +710,11 @@ export default {
};
return statusMap[status];
},
- executeFuc(row,type,clickFuc,value){
- return executeFuc(this,row,type,clickFuc,value);
+ executeFuc(row, type, clickFuc, value) {
+ return executeFuc(this, row, type, clickFuc, value);
},
- executeEval(row,expression,defaultRet){
- if(expression){
+ executeEval(row, expression, defaultRet) {
+ if (expression) {
return eval(expression);
}
return defaultRet;
@@ -714,7 +729,7 @@ export default {
created() {
this.getInvList(this);
this.getBusType(this);
- getHead("IoCreateOrder","1").then((re) => {
+ getHead("IoCreateOrder", "1").then((re) => {
// 处理返回的数据
this.tableObj = re.data;
this.tableHeader = re.data.tableList;
diff --git a/src/views/supplier/company/basicCompanyproductEdit.vue b/src/views/supplier/company/basicCompanyproductEdit.vue
index b61f8ef..42bfe2c 100644
--- a/src/views/supplier/company/basicCompanyproductEdit.vue
+++ b/src/views/supplier/company/basicCompanyproductEdit.vue
@@ -71,7 +71,7 @@