| | |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label-width="rightFormLabelWidth" |
| | | label="自定义的流水算法:" |
| | | label="自定义流水算法:" |
| | | > |
| | | <template> |
| | | <vciWebRefer |
| | | ref="refer" |
| | | :disabled="basicSecOnlyRead" |
| | | :display="true" |
| | | :referConfig="this.referConfig || {}" |
| | | :serialType="form.serialType" |
| | |
| | | @setReferValue="setReferValue" |
| | | ></vciWebRefer> |
| | | </template> |
| | | |
| | | |
| | | </el-form-item> |
| | | </div> |
| | | <!-- 层级码段 --> |
| | |
| | | //自定义流水失焦 |
| | | setReferValue(data) { |
| | | if (data.field) { |
| | | this.form[data.field] = data.value || ""; |
| | | // this.form[data.field] = data.value || ""; |
| | | this.form.customCodeSerialClass = data.rawData[0].id || ""; |
| | | console.log(this.form.customCodeSerialClass); |
| | | this.form[data.showField] = data.text || ""; |
| | | this.form.serialType = data.rawData[0].serialType || ""; |
| | | this.form.customCodeSerialType = data.rawData[0].serialType || ""; |
| | |
| | | row != null && row.customCodeSerialClass != "" |
| | | ? row.customCodeSerialClass |
| | | : "", //自定义流水算法 |
| | | customCodeSerialClassText: |
| | | row != null && row.customCodeSerialClassText != "" |
| | | ? row.customCodeSerialClassText |
| | | : "", //自定义流水算法显示值 |
| | | customCodeSerialType: |
| | | row != null && row.customCodeSerialType != "" |
| | | ? row.customCodeSerialType |
| | | : "", //自定义流水算法类型 |
| | | }); |
| | | this.loadCodeFillType(); |
| | | this.loadCodeFillSeparator(); |