|
@@ -62,7 +62,7 @@
|
|
disabled />
|
|
disabled />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="类型" span="1" prop="type">
|
|
<ws-form-item label="类型" span="1" prop="type">
|
|
- <ws-select v-model="inspect.type" :disabled="disabled" @change="typeChange">
|
|
|
|
|
|
+ <ws-select v-model="inspect.type" disabled @change="typeChange">
|
|
<ws-option v-for="item in typeList" :key="item" :label="item" :value="item" />
|
|
<ws-option v-for="item in typeList" :key="item" :label="item" :value="item" />
|
|
</ws-select>
|
|
</ws-select>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
@@ -713,6 +713,12 @@
|
|
|
|
|
|
waterContentChange(type) {
|
|
waterContentChange(type) {
|
|
if (this.inspect.goodsName&&type!='water') {
|
|
if (this.inspect.goodsName&&type!='water') {
|
|
|
|
+ if(this.inspect.goodsName.indexOf('潮粮') !=-1){
|
|
|
|
+ this.inspect.type='潮粮'
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
|
|
+ this.inspect.type='干粮'
|
|
|
|
+ }
|
|
if(!this.inspect.dryGrainPrice||this.inspect.dryGrainPrice == 0){
|
|
if(!this.inspect.dryGrainPrice||this.inspect.dryGrainPrice == 0){
|
|
getDryGrainPrice({warehouseId:this.cangid,goodsName:this.inspect.goodsName})
|
|
getDryGrainPrice({warehouseId:this.cangid,goodsName:this.inspect.goodsName})
|
|
.toPromise()
|
|
.toPromise()
|