|
|
|
@ -42,7 +42,7 @@
|
|
|
|
|
dictCode="material_type" placeholder="请选择物资类型"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-col :span="8" v-if="task" > |
|
|
|
|
<a-form-item label="被调拨部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<j-select-depart v-decorator="['beAllotDepartment',validatorRules.beAllotDepartment]" @change ='Department'/> |
|
|
|
|
</a-form-item> |
|
|
|
@ -367,7 +367,8 @@
|
|
|
|
|
} |
|
|
|
|
let company = sessionStorage.getItem('PARENT_ID') |
|
|
|
|
let userInfo = sessionStorage.getItem('USER_INFORMATION') |
|
|
|
|
console.log(userInfo) |
|
|
|
|
// console.log("userInfouserInfo",JSON.parse(userInfo)); |
|
|
|
|
|
|
|
|
|
// userInfo.company=company; |
|
|
|
|
this.popupCallback(company, userInfo) |
|
|
|
|
|
|
|
|
@ -379,7 +380,7 @@
|
|
|
|
|
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined){ |
|
|
|
|
|
|
|
|
|
if(record.row.id !== '' && record.row.id !== undefined && this.materialGroupId !== record.row.materialGroup ){ |
|
|
|
|
console.log("执行materialGroup") |
|
|
|
|
// console.log("执行materialGroup") |
|
|
|
|
this.fetchMerchandiseNews(record.row.materialGroup,1); |
|
|
|
|
let value = [ |
|
|
|
|
{ |
|
|
|
@ -406,7 +407,7 @@
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined && record.row.equipment !== '' && record.row.allotNumber === '' && isDB ){ |
|
|
|
|
console.log("执行materialNumber") |
|
|
|
|
// console.log("执行materialNumber") |
|
|
|
|
let materialName = {} |
|
|
|
|
this.bigIdMerchandiseNewsList.forEach(item => { |
|
|
|
|
if (item.merchandiseNewsId === record.row.equipment) { |
|
|
|
@ -596,8 +597,9 @@
|
|
|
|
|
init() { |
|
|
|
|
this.btndisabled = true |
|
|
|
|
var r = this.processData |
|
|
|
|
// console.log("2323232323232323232323232323232323232323",r) |
|
|
|
|
this.getAction(this.url.queryById, { |
|
|
|
|
tableId: r.tableId, |
|
|
|
|
id: r.tableId, |
|
|
|
|
tableName: r.tableName |
|
|
|
|
}).then((res) => { |
|
|
|
|
if (res.success) { |
|
|
|
|