feat(发货): 新增发货功能模块及相关页面
- 添加发货功能页面及API接口 - 更新tabbar图标和路由配置 - 修改物料信息展示逻辑 - 优化页面跳转和权限控制 - 更新应用版本至1.3.29
This commit is contained in:
@@ -137,19 +137,19 @@
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<text class="item-label">厂家</text>
|
||||
<text class="item-value">{{ (coilDetail.product && coilDetail.product.manufacturer) || (coilDetail.rawMaterial && coilDetail.rawMaterial.manufacturer) || '-' }}</text>
|
||||
<text class="item-value">{{ (coilDetail.manufacturer) || '-' }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<text class="item-label">材质</text>
|
||||
<text class="item-value">{{ (coilDetail.product && coilDetail.product.material) || (coilDetail.rawMaterial && coilDetail.rawMaterial.material) || '-' }}</text>
|
||||
<text class="item-value">{{ (coilDetail.material) || '-' }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<text class="item-label">规格</text>
|
||||
<text class="item-value">{{ (coilDetail.product && coilDetail.product.specification) || (coilDetail.rawMaterial && coilDetail.rawMaterial.specification) || '-' }}</text>
|
||||
<text class="item-value">{{ (coilDetail.specification) || '-' }}</text>
|
||||
</view>
|
||||
<view class="info-item">
|
||||
<text class="item-label">品名</text>
|
||||
<text class="item-value">{{ (coilDetail.product && coilDetail.product.productName) || (coilDetail.rawMaterial && coilDetail.rawMaterial.productName) || '-' }}</text>
|
||||
<text class="item-value">{{ (coilDetail.itemName) || '-' }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -847,6 +847,7 @@
|
||||
},
|
||||
mounted() {
|
||||
getDicts('action_type').then(res => {
|
||||
console.log(res.data)
|
||||
this.types = res.data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -126,10 +126,10 @@
|
||||
this.form = res.data;
|
||||
this.coilDetail = {
|
||||
...res.data,
|
||||
itemName: res.data.materialType == '成品' ? res.data.product.productName : res.data.rawMaterial.rawMaterialName,
|
||||
itemSpecification: res.data.materialType == '成品' ? res.data.product.specification : res.data.rawMaterial.specification,
|
||||
itemManufacturer: res.data.materialType == '成品' ? res.data.product.manufacturer : res.data.rawMaterial.manufacturer,
|
||||
itemMaterial: res.data.materialType == '成品' ? res.data.product.material : res.data.rawMaterial.material
|
||||
itemName: res.data.itemName,
|
||||
itemSpecification: res.data.specification,
|
||||
itemManufacturer: res.data.manufacturer,
|
||||
itemMaterial: res.data.material
|
||||
};
|
||||
console.log('钢卷信息', this.form, )
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user