|
|
@@ -66,6 +66,7 @@
|
|
|
class="form-ipt"
|
|
|
size="medium"
|
|
|
style="width: 100%"
|
|
|
+ :value="formData.extInfo.assetType"
|
|
|
clearable
|
|
|
:options="codeList"
|
|
|
:props="{
|
|
|
@@ -1387,6 +1388,7 @@
|
|
|
},
|
|
|
async pickerSuccess(row) {
|
|
|
this.formData.bizType = '2';
|
|
|
+ this.codeListValue(row.categoryLevelTopId)
|
|
|
this.isTask = true;
|
|
|
this.pickerRow = row;
|
|
|
this.formData.extInfo.documentSource = row.orderNo;
|
|
|
@@ -1421,10 +1423,10 @@
|
|
|
this.$refs.pickerRef.open();
|
|
|
},
|
|
|
codeListValue(val) {
|
|
|
- this.formData.extInfo.assetType = val.id;
|
|
|
+ this.formData.extInfo.assetType = val.id||val;
|
|
|
this.$forceUpdate();
|
|
|
this.title = val?.name;
|
|
|
- this.selectEquiType = val?.id;
|
|
|
+ this.selectEquiType = val?.id||val;
|
|
|
},
|
|
|
//计算生产设备重量
|
|
|
deviceWeight(row, num) {
|