|
@@ -10,19 +10,17 @@
|
|
|
<div style="font-size:26px;font-weight:700">{{ BaseTool.Object.getField(typeMap,model.type) }}</div>
|
|
|
</div>
|
|
|
<div style="display:flex;justify-content:space-between; margin: 10px auto;width: 1030px;">
|
|
|
-<!-- <a-radio-group v-if="type" v-model="value1">
|
|
|
+ <a-radio-group name="radioGroup" :default-value="1">
|
|
|
<a-radio :value="1">
|
|
|
- <a-icon class="check" v-show="value1 ==1" type="check" />成品出库
|
|
|
+ 能源装备部
|
|
|
</a-radio>
|
|
|
<a-radio :value="2">
|
|
|
- <a-icon class="check" v-show="value1 ==2" type="check" />材料领用出库
|
|
|
+ 生产部
|
|
|
</a-radio>
|
|
|
- </a-radio-group>
|
|
|
- <a-radio-group v-else v-model="value1">
|
|
|
- <a-radio :value="1">
|
|
|
- <a-icon class="check" v-show="value1 ==1" type="check" />工程剩余退回
|
|
|
+ <a-radio :value="3">
|
|
|
+ 筹建部
|
|
|
</a-radio>
|
|
|
- </a-radio-group>-->
|
|
|
+ </a-radio-group>
|
|
|
<div>单号:{{ model.yyId }}</div>
|
|
|
<div>日期:{{ model.userTime }}</div>
|
|
|
</div>
|
|
@@ -45,7 +43,7 @@
|
|
|
<td colspan="1">备注</td>
|
|
|
</tr>
|
|
|
<tr v-for="item in model.detailList" :key="item.outId">
|
|
|
- <td colspan="1">{{ item.spareId }}</td>
|
|
|
+ <td colspan="1">{{ item.no }}</td>
|
|
|
<td colspan="1">{{ item.spareName }}</td>
|
|
|
<td colspan="1">{{ item.ggxh }}</td>
|
|
|
<td colspan="1">{{ item.unit }}</td>
|
|
@@ -71,7 +69,7 @@
|
|
|
</div>
|
|
|
<div style="display:flex;justify-content:space-between ; margin: 10px auto;width: 1030px;">
|
|
|
<div >{{ type? '领料':'退料' }}人:{{ model.createdUserName }}</div>
|
|
|
- <div>部门主管:{{ model.updateUserName }}</div>
|
|
|
+ <div>部门主管:{{ model.applyUserName }}</div>
|
|
|
<div style="width: 150px;">仓管:</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -103,7 +101,7 @@ export default {
|
|
|
},
|
|
|
created () {
|
|
|
// 下拉框map
|
|
|
- this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.OUT_STORE_FORM_TYPE)
|
|
|
+ // this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.OUT_STORE_FORM_TYPE)
|
|
|
},
|
|
|
methods: {
|
|
|
base (record, type) {
|
|
@@ -111,6 +109,11 @@ export default {
|
|
|
console.log(record)
|
|
|
this.type = type
|
|
|
this.model = record
|
|
|
+ if (record.isOut === 1) {
|
|
|
+ this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.OUT_STORE_FORM_TYPE)
|
|
|
+ } else {
|
|
|
+ this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SPARE_BACK_FORM_TYPE)
|
|
|
+ }
|
|
|
},
|
|
|
handleCancel (values) {
|
|
|
this.visible = false
|