商品表 商品编号字段修改

zhc4dev
zhc077 2 years ago
parent ca3ad50116
commit 31e10f04f9
  1. 2
      ant-design-vue-jeecg/src/views/gdmlb/ZyProductionTypesettingList.vue
  2. 4
      ant-design-vue-jeecg/src/views/gdmlb/modules/ZyProductionTypesettingForm.vue
  3. 3
      ant-design-vue-jeecg/src/views/team/GroupxMemberList.vue
  4. 2
      ant-design-vue-jeecg/src/views/team/StationMachineList.vue
  5. 2
      ant-design-vue-jeecg/src/views/team/StationToolList.vue
  6. 4
      jeecg-boot/jeecg-boot-module-gdnk/src/main/java/org/jeecg/modules/demo/gdmlb/entity/ZyProductionTypesetting.java
  7. 2
      jeecg-boot/jeecg-boot-module-mall/src/main/java/org/jeecg/modules/demo/mall/entity/ZyGoods.java
  8. 2
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zyworkorder/controller/ZyWorkOrderController.java

@ -257,7 +257,7 @@
getSuperFieldList(){
let fieldList=[];
fieldList.push({type:'string',value:'workOrderId',text:'工单编号',dictCode:'zy_work_order,code,id'})
fieldList.push({type:'string',value:'goodsId',text:'商品',dictCode:'zy_goods,goods_num,id'})
fieldList.push({type:'string',value:'goodsId',text:'商品',dictCode:'zy_goods,goods_code,id'})
fieldList.push({type:'string',value:'workshopId',text:'车间',dictCode:''})
fieldList.push({type:'string',value:'factory',text:'工厂',dictCode:''})
fieldList.push({type:'string',value:'teamId',text:'班组',dictCode:''})

@ -10,7 +10,7 @@
</a-col>
<a-col :span="24">
<a-form-model-item label="商品" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="goodsId">
<j-dict-select-tag type="list" v-model="model.goodsId" dictCode="zy_goods,goods_num,id" placeholder="请选择商品" />
<j-dict-select-tag type="list" v-model="model.goodsId" dictCode="zy_goods,goods_code,id" placeholder="请选择商品" />
</a-form-model-item>
</a-col>
<a-col :span="24">
@ -151,7 +151,7 @@
that.confirmLoading = false;
})
}
})
},
}

@ -178,7 +178,8 @@ export default {
methods: {
fanHui() {
this.$router.push({
path: '/src/views/team/GroupxList',
//
path: '/team/GroupxList',
});
},
// initDictConfig() {

@ -179,7 +179,7 @@ export default {
methods: {
fanHui() {
this.$router.push({
path: '/src/views/team/StationList',
path: '/team/StationList',
// path: '/src/views/zyclothsstyle/ZyClothsStyleList',
});
},

@ -177,7 +177,7 @@ export default {
methods: {
fanHui() {
this.$router.push({
path: '/src/views/team/StationList',
path: '/team/StationList',
// path: '/src/views/zyclothsstyle/ZyClothsStyleList',
});
},

@ -40,8 +40,8 @@ public class ZyProductionTypesetting implements Serializable {
@ApiModelProperty(value = "工单编号")
private String workOrderId;
/**商品*/
@Excel(name = "商品", width = 15, dictTable = "zy_goods", dicText = "goods_num", dicCode = "id")
@Dict(dictTable = "zy_goods", dicText = "goods_num", dicCode = "id")
@Excel(name = "商品", width = 15, dictTable = "zy_goods", dicText = "goods_code", dicCode = "id")
@Dict(dictTable = "zy_goods", dicText = "goods_code", dicCode = "id")
@ApiModelProperty(value = "商品")
private String goodsId;
/**车间*/

@ -32,7 +32,7 @@ public class ZyGoods implements Serializable {
/**商品编号*/
@Excel(name = "商品编号", width = 15)
@ApiModelProperty(value = "商品编号")
private java.lang.String goodsNum;
private java.lang.String goodsCode;
/**商品来源*/
@Excel(name = "商品来源", width = 15)
@ApiModelProperty(value = "商品来源")

@ -107,7 +107,7 @@ public class ZyWorkOrderController extends JeecgController<ZyWorkOrder, IZyWorkO
ZyWorkOrder zyWorkOrder = zyWorkOrderService.getById(zyProductionTypesetting.getWorkOrderId());
ZyGoods zyGoods = zyGoodsService.getById(zyProductionTypesetting.getGoodsId());
zyProductionTypesetting.setWorkOrderId(zyWorkOrder.getOrderCode());
zyProductionTypesetting.setGoodsId(zyGoods.getGoodsNum());
zyProductionTypesetting.setGoodsId(zyGoods.getGoodsCode());
return Result.OK(zyProductionTypesetting);
}

Loading…
Cancel
Save