|
@@ -32,10 +32,10 @@
|
|
@change="selectpackingMethod"
|
|
@change="selectpackingMethod"
|
|
>
|
|
>
|
|
<ws-option
|
|
<ws-option
|
|
- v-for="item in packtypeList"
|
|
|
|
|
|
+ v-for="item in unitList"
|
|
:key="item.constKey"
|
|
:key="item.constKey"
|
|
- :label="item.constValue"
|
|
|
|
- :value="item.constValue"
|
|
|
|
|
|
+ :label="item.warehouseName"
|
|
|
|
+ :value="item.warehouseName"
|
|
/>
|
|
/>
|
|
</ws-select>
|
|
</ws-select>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
@@ -223,6 +223,7 @@ export default {
|
|
contractType: 2,
|
|
contractType: 2,
|
|
startDate: null,
|
|
startDate: null,
|
|
endDate: null,
|
|
endDate: null,
|
|
|
|
+ unitList:[],
|
|
// 提交类型
|
|
// 提交类型
|
|
submitType: true,
|
|
submitType: true,
|
|
selectpackingMethod: {},
|
|
selectpackingMethod: {},
|
|
@@ -252,7 +253,7 @@ export default {
|
|
// this.getVesselData();
|
|
// this.getVesselData();
|
|
// this.getList()
|
|
// this.getList()
|
|
this.loaddata()
|
|
this.loaddata()
|
|
- this.getLook()
|
|
|
|
|
|
+ //this.getLook()
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -297,12 +298,19 @@ export default {
|
|
},
|
|
},
|
|
loaddata() {
|
|
loaddata() {
|
|
// 仓库名称
|
|
// 仓库名称
|
|
- xiala({ compId: 'CON1' })
|
|
|
|
|
|
+ xiala({ compId: sessionStorage.getItem('ws-pf_compId')})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.packtypeList = response
|
|
this.packtypeList = response
|
|
})
|
|
})
|
|
this.getUnitList()
|
|
this.getUnitList()
|
|
|
|
+
|
|
|
|
+ // 数据
|
|
|
|
+ getLook({ id:this.compId })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.deptBudgetList = response
|
|
|
|
+ })
|
|
},
|
|
},
|
|
getUnitList() {
|
|
getUnitList() {
|
|
xiala({
|
|
xiala({
|
|
@@ -321,7 +329,7 @@ export default {
|
|
})
|
|
})
|
|
//
|
|
//
|
|
if (currItem) {
|
|
if (currItem) {
|
|
- this.selectContract(currItem.constValue)
|
|
|
|
|
|
+ this.getLook(currItem.constValue)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|