huangbin 4 年之前
父节点
当前提交
0f842a3735
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/information/goods/components/modify/index.vue

+ 1 - 1
src/views/information/goods/components/modify/index.vue

@@ -412,7 +412,7 @@ export default defineComponent({
                 mergeTwoObj(formState, props.selctedDeliveryGoods);
                 mergeTwoObj(formState, props.selctedDeliveryGoods);
                 mergeTwoObj(formState, data);
                 mergeTwoObj(formState, data);
                 // 单位
                 // 单位
-                formState.unitid = data.agreeunit;
+                formState.unitid = data.goodsunitid;
                 // 品类
                 // 品类
                 formState.gldwrstandards = gmlist.map((e) => {
                 formState.gldwrstandards = gmlist.map((e) => {
                     const { wrstandardid, wrstandardname, convertfactor, unitid } = e;
                     const { wrstandardid, wrstandardname, convertfactor, unitid } = e;