|
@@ -82,7 +82,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<!-- 品级 -->
|
|
<!-- 品级 -->
|
|
<el-form-item label="品级">
|
|
<el-form-item label="品级">
|
|
- <el-select disabled v-model="dataList.grade" placeholder class="typeselect"
|
|
|
|
|
|
+ <el-select :disabled='gradestatus' v-model="dataList.grade" placeholder class="typeselect"
|
|
@change="selectpackingMethod">
|
|
@change="selectpackingMethod">
|
|
<el-option v-for="item in gradeList" :key="item.constKey" :label="item.constValue"
|
|
<el-option v-for="item in gradeList" :key="item.constKey" :label="item.constValue"
|
|
:value="item.constValue" />
|
|
:value="item.constValue" />
|
|
@@ -409,6 +409,7 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ gradestatus:true,
|
|
flag: 1,
|
|
flag: 1,
|
|
//弹出框
|
|
//弹出框
|
|
dialogViewSpareMoney: false,
|
|
dialogViewSpareMoney: false,
|
|
@@ -659,6 +660,19 @@
|
|
for (var i = 0; i < this.warehouseNameList.length; i++) {
|
|
for (var i = 0; i < this.warehouseNameList.length; i++) {
|
|
if (this.warehouseNameList[i].id == e) {
|
|
if (this.warehouseNameList[i].id == e) {
|
|
this.dataList.warehouseName = this.warehouseNameList[i].warehouseName
|
|
this.dataList.warehouseName = this.warehouseNameList[i].warehouseName
|
|
|
|
+ if(this.dataList.taskTypeKey==3||this.dataList1.taskTypeKey==3){
|
|
|
|
+ if(this.warehouseNameList[i].warehouseType==2){
|
|
|
|
+ this.$set(this.dataList, 'goodsName', this.warehouseNameList[i].goodsName)
|
|
|
|
+ this.$set(this.dataList, 'grade', this.warehouseNameList[i].grade)
|
|
|
|
+ this.$set(this.dataList1, 'goodsName', this.warehouseNameList[i].goodsName)
|
|
|
|
+ this.$set(this.dataList1, 'grade', this.warehouseNameList[i].grade)
|
|
|
|
+ this.gradestatus=true
|
|
|
|
+ }else{
|
|
|
|
+ this.gradestatus=false
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ console.log(this.warehouseNameList[i])
|
|
//经办人
|
|
//经办人
|
|
getstaff({
|
|
getstaff({
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|