Commit 03b68bad authored by jingnan's avatar jingnan 👀

返厂入库区域和明细到货日期可修改

parent 2e58329b
......@@ -385,7 +385,7 @@ export default {
this.header = this.basicData
if (!this.header) return
this.$set(this.form, 'supplier', this.header.supplierFullName.label || '')
this.$set(this.form, 'arrivalDate', this.header.arrivalDate)
// this.$set(this.form, 'arrivalDate', this.header.arrivalDate)
const childrenAddOrEdit = this.header.materialTypeName.label === '外购成品' && (this.operateType === 'ADD' || (this.operateType === 'MODIFY' && !this.form.isRoot))
const parentIsVirtual = this.form.isVirtual
switch (this.header.billType) {
......@@ -573,7 +573,7 @@ export default {
component: {
clearable: true,
name: 'el-date-picker',
disabled: true,
disabled: childrenAddOrEdit,
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd hh:mm:ss',
placeholder: '请选择到货日期'
......@@ -903,7 +903,7 @@ export default {
component: {
clearable: true,
name: 'el-date-picker',
disabled: true,
disabled: childrenAddOrEdit,
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd',
placeholder: '请选择到货日期'
......@@ -1291,7 +1291,7 @@ export default {
component: {
clearable: true,
name: 'el-date-picker',
disabled: true,
disabled: childrenAddOrEdit,
format: 'yyyy-MM-dd',
valueFormat: 'yyyy-MM-dd hh:mm:ss',
placeholder: '请选择到货日期'
......
......@@ -540,7 +540,7 @@ export default {
methods: {
cancel() {
this.$emit('cancel')
this.$bus.$emit('refreshPurchaseData')
this.$bus.$emit('refreshInRecallData')
},
initData() {
this.getInventoryRequest()
......@@ -782,7 +782,9 @@ export default {
})
if (data.length > 0) {
this.formData[0].data.forEach(item => {
item.component.disabled = true
if (item.key !== 'extDxProductAreaId') {
item.component.disabled = true
}
})
}
this.pagination.total = data.length
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment