|
@@ -1305,7 +1305,7 @@ export const useHooks = (t?: any) => {
|
|
|
render: scope => {
|
|
|
let item = state.workgrpEnum.find(t => t.value == scope.row.wrkgrpid);
|
|
|
if (item) {
|
|
|
- return item.label + " - " + item.code;
|
|
|
+ return item.code + " - " + item.label;
|
|
|
} else {
|
|
|
return "";
|
|
|
}
|
|
@@ -1351,7 +1351,7 @@ export const useHooks = (t?: any) => {
|
|
|
render: scope => {
|
|
|
let item = state.workgrpEnum2.find(t => t.value == scope.row.wrkgrpid2);
|
|
|
if (item) {
|
|
|
- return item.label + " - " + item.code;
|
|
|
+ return item.code + " - " + item.label;
|
|
|
} else {
|
|
|
return "";
|
|
|
}
|
|
@@ -1797,6 +1797,13 @@ export const useHooks = (t?: any) => {
|
|
|
*/
|
|
|
const RetriveMattressInterface = async (mattressid: number) => {
|
|
|
let res = await GetMattressInterfaceList({ mattressid, isEdit: Number(state.orderStatus != "") });
|
|
|
+ if (res.ErrMsg) {
|
|
|
+ ElNotification({
|
|
|
+ title: "温馨提示",
|
|
|
+ message: res.ErrMsg,
|
|
|
+ type: "error"
|
|
|
+ });
|
|
|
+ }
|
|
|
state.mainData = [res.mattress];
|
|
|
state.mattressYWList = res.interfaceList;
|
|
|
state.mattressQDList = res.qdList;
|