@@ -331,6 +331,10 @@
prop: 'brandNum',
label: '牌号'
},
+ {
+ prop: 'imgCode',
+ label: '图号'
+ },
{
prop: 'modelType',
@@ -366,7 +370,17 @@
label: '计量单位',
showOverflowTooltip: true
-
+ prop: 'netWeight',
+ label: '单重',
+ width: 100,
+ prop: 'totalWeight',
+ label: '总重',
+
prop: 'produceType',
slot: 'produceType',
@@ -705,6 +719,7 @@
const match = newVal.match(/^(\d+)(\.\d{0,4})?/);
item.dosage = match ? match[0] : '';
+ item.totalWeight=newVal*item.netWeight;
// 4. 更新数据
// item.dosage = newVal;