|
@@ -77,17 +77,17 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="产品类别" prop="categoryId">
|
|
|
+ <el-form-item label="产品类别" prop="k3CategoryNumber">
|
|
|
<el-select
|
|
|
style="width:100%"
|
|
|
placeholder="请选择产品类别"
|
|
|
- v-model="screenForm.mainId"
|
|
|
+ v-model="screenForm.k3CategoryNumber"
|
|
|
>
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
<el-option
|
|
|
v-for="item in dictList"
|
|
|
- :label="item.dictValue"
|
|
|
- :value="item.dictCode"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.number"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -495,7 +495,7 @@ import {
|
|
|
getTypeList
|
|
|
} from '@/api/basic_data/material'
|
|
|
import { downloadFiles } from '@/utils/util'
|
|
|
-import { getDictList } from '@/api/common'
|
|
|
+import { getCategoryList } from '@/api/common'
|
|
|
|
|
|
export default {
|
|
|
mixins: [Mixin],
|
|
@@ -533,7 +533,7 @@ export default {
|
|
|
startDate: "",
|
|
|
materialOldNumber:'',
|
|
|
saleTypeId:'',
|
|
|
- mainId:'',
|
|
|
+ k3CategoryNumber:'',
|
|
|
specification:''
|
|
|
},
|
|
|
liDetail: {},
|
|
@@ -588,10 +588,10 @@ export default {
|
|
|
getTypeList(params).then((res) => {
|
|
|
this.typeList = res.data.records;
|
|
|
});
|
|
|
- getDictList({ sysDictEnum: "PRODUCT_TYPE" }).then((res) => {
|
|
|
- this.dictList = res.data;
|
|
|
- console.log(this.dictList)
|
|
|
- });
|
|
|
+ getCategoryList({ pageNum:1,pageSize:-1}).then((res) => {
|
|
|
+ this.dictList = res.data.records
|
|
|
+ console.log(this.dictList,777777)
|
|
|
+ })
|
|
|
},
|
|
|
methods: {
|
|
|
formatterType(row) {
|
|
@@ -645,7 +645,7 @@ export default {
|
|
|
startDate: this.screenForm.startDate,
|
|
|
materialOldNumber:this.screenForm.materialOldNumber,
|
|
|
saleTypeId:this.screenForm.saleTypeId,
|
|
|
- mainId:this.screenForm.mainId,
|
|
|
+ k3CategoryNumber:this.screenForm.k3CategoryNumber,
|
|
|
specification:this.screenForm.specification
|
|
|
};
|
|
|
getProductRriceList(params).then((res) => {
|