refactor(contract): 统一合同编号字段名从contractNo改为contractCode

修改多个组件中合同编号字段名以保持一致性,移除未使用的props和清理冗余代码
This commit is contained in:
砂糖
2026-04-14 10:03:16 +08:00
parent 9f3d402174
commit 54bea01416
6 changed files with 25 additions and 60 deletions

View File

@@ -95,18 +95,6 @@ export default {
type: [Number, String],
default: null
},
customerId: {
type: String,
default: ''
},
financeList: {
type: Array,
default: () => []
},
objectionList: {
type: Array,
default: () => []
},
coilList: {
type: Array,
default: () => []
@@ -115,10 +103,6 @@ export default {
type: Boolean,
default: false
},
tabLoading: {
type: Boolean,
default: false
},
// 附件字段
contractAttachment: {
type: String,
@@ -132,10 +116,6 @@ export default {
type: String,
default: ''
},
wmsDeliveryWaybills: {
type: Array,
default: () => []
},
// 新增必要的props
form: {
type: Object,
@@ -145,10 +125,6 @@ export default {
type: Object,
default: () => ({})
},
customerList: {
type: Array,
default: () => []
},
deliveryWaybillList: {
type: Array,
default: () => []
@@ -179,10 +155,6 @@ export default {
.replace('{i}', minutes)
.replace('{s}', seconds);
},
// 处理订单保存
handleOrderSave() {
// 这里可以添加保存逻辑
}
}
};
</script>