|
@@ -758,6 +758,7 @@ import {
|
|
|
addProductInvoice,
|
|
|
updateProductInvoice,
|
|
|
saleOrderList,
|
|
|
+ queryMaterielList,
|
|
|
} from "@/api/tablelist/commonTable";
|
|
|
import { listData } from "@/api/system/tenant/data";
|
|
|
import { getToken } from "@/utils/auth";
|
|
@@ -843,6 +844,8 @@ export default {
|
|
|
craftMark: "", //包装/贴唛
|
|
|
shippingMethod: "", //运输方式
|
|
|
},
|
|
|
+ sliceTypeOptions: [], //切片型号选项
|
|
|
+ colourNumberOptions: [], //色号选项
|
|
|
allProductionOptions: [], //所有产品选项
|
|
|
productionOptions: [],
|
|
|
customerOptions: [],
|
|
@@ -1270,11 +1273,12 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
];
|
|
|
- let res = await queryDropDownBoxData(payLoad);
|
|
|
+ // let res = await queryDropDownBoxData(payLoad);
|
|
|
+ let res = await queryMaterielList();
|
|
|
if (res.code == 200) {
|
|
|
- console.log(res.data.resultMap);
|
|
|
- let { materiel } = res.data.resultMap;
|
|
|
- this.colourNumberOptions = materiel || [];
|
|
|
+ console.log(res.data);
|
|
|
+ // let { materiel } = res.data;
|
|
|
+ this.colourNumberOptions = res.data || [];
|
|
|
} else {
|
|
|
throw Error("获取下拉框数据失败");
|
|
|
}
|