|
@@ -201,6 +201,7 @@ import {
|
|
|
} from "@/api/basicData/EquipmentArchives";
|
|
|
import { getGoodstype } from "@/api/basicData/product";
|
|
|
import {getFee, saveFile} from "../../api/landTransportation";
|
|
|
+import {getDictionary} from "../../api/system/dictbiz";
|
|
|
export default {
|
|
|
name: "index",
|
|
|
data() {
|
|
@@ -522,10 +523,10 @@ export default {
|
|
|
this.findObject(this.optionList.column, "goodsTypeId").dicData = res.data.data;
|
|
|
});
|
|
|
// 获取品牌数据
|
|
|
- getListpp().then(res=>{
|
|
|
- this.findObject(this.optionList.column, "brand").dicData = res.data.data.records
|
|
|
- this.findObject(this.optionTwo.column, "brand").dicData = res.data.data.records
|
|
|
- })
|
|
|
+ // getListpp().then(res=>{
|
|
|
+ // this.findObject(this.optionList.column, "brand").dicData = res.data.data.records
|
|
|
+ // this.findObject(this.optionTwo.column, "brand").dicData = res.data.data.records
|
|
|
+ // })
|
|
|
// 获取供应商厂家数据
|
|
|
GYSgetList(1,20, {corpType:'GYS'}).then(res=>{
|
|
|
this.findObject(this.optionTwo.column, "corpId").dicData = res.data.data.records
|
|
@@ -616,6 +617,12 @@ export default {
|
|
|
this.goodsListSave = []
|
|
|
// 获取产品弹窗的左侧类型
|
|
|
this.getGoodstypefun()
|
|
|
+ var dict = {
|
|
|
+ code : 'unit'
|
|
|
+ }
|
|
|
+ getDictionary(dict).then(res => {
|
|
|
+ this.findObject(this.optionTwo.column, "unit").dicData = res.data.data;
|
|
|
+ })
|
|
|
this.productonLoad(this.productPage, this.productSearch);
|
|
|
this.productVisible = true
|
|
|
} else {
|