diff --git a/klp-ui/src/views/crm/contract/index.vue b/klp-ui/src/views/crm/contract/index.vue
index 4e97c230..daaba324 100644
--- a/klp-ui/src/views/crm/contract/index.vue
+++ b/klp-ui/src/views/crm/contract/index.vue
@@ -197,7 +197,7 @@
合同信息
-
+
diff --git a/klp-ui/src/views/crm/order/index.vue b/klp-ui/src/views/crm/order/index.vue
index 7e865c08..b0d80877 100644
--- a/klp-ui/src/views/crm/order/index.vue
+++ b/klp-ui/src/views/crm/order/index.vue
@@ -123,9 +123,6 @@
:value="item.contractId" />
-
@@ -172,6 +169,12 @@ export default {
FileList
},
dicts: ['customer_level', 'customer_industry', 'wip_pack_saleman'],
+ props: {
+ contractId: {
+ type: String,
+ default: ''
+ }
+ },
data() {
return {
ORDER_STATUS,
@@ -182,6 +185,7 @@ export default {
customerId: '',
salesman: '',
orderStatus: '',
+ contractId: this.contractId,
orderType: ORDER_TYPE['正式订单'],
financeStatus: '',
pageNum: 1,
@@ -258,6 +262,12 @@ export default {
// 表单重置
reset() {
+ // 如果有合同号,重置合同号
+ let contractCode = ''
+ if (this.contractId) {
+ contractCode = this.contractList.find(item => item.contractId === this.contractId).contractNo
+ }
+ // 重置表单数据
this.form = {
orderId: undefined,
orderCode: undefined,
@@ -266,6 +276,8 @@ export default {
orderAmount: undefined,
salesman: undefined,
deliveryDate: undefined,
+ contractId: this.contractId,
+ contractCode: contractCode,
preOrderStatus: undefined,
auditUser: undefined,
auditTime: undefined,
diff --git a/klp-ui/src/views/wms/coil/panels/LabelRender/index.vue b/klp-ui/src/views/wms/coil/panels/LabelRender/index.vue
index cf3713ba..ea78c48f 100644
--- a/klp-ui/src/views/wms/coil/panels/LabelRender/index.vue
+++ b/klp-ui/src/views/wms/coil/panels/LabelRender/index.vue
@@ -84,9 +84,6 @@ export default {
DuGeTag,
TuoZhiTag,
SplitTag,
- // SampleTagPreview,
- // ForgeTagPreview,
- // SaltSprayTagPreview,
},
data() {
return {
@@ -153,14 +150,16 @@ export default {
content: {
handler(newVal) {
const { itemName, itemType, warehouseId } = newVal;
- // 在镀锌颜料库的卷使用镀锌原料标签
+ // 在镀锌原料库或者在镀锌分条原料库的卷使用镀锌原料标签
if (itemType == 'raw_material' && (warehouseId == '1988150263284953089' || warehouseId == '1988150487185289217')) {
this.labelType = '5';
}
- // 脱脂原料库
+ // 在脱脂原料库的卷使用脱脂原料标签
else if (itemType == 'raw_material' && (warehouseId == '1988150545175736322')) {
this.labelType = '6';
- } else if (itemType == 'raw_material') {
+ }
+ // 否则使用普通的原料标签
+ else if (itemType == 'raw_material') {
this.labelType = '2';
}
// 分条成品