|
@@ -72,7 +72,7 @@
|
|
|
<!-- 备注 -->
|
|
|
<span slot="remarks" slot-scope="text,record">
|
|
|
<!-- <a-input placeholder="请输入" v-model="record.remarks" v-show='showSelect==0'/> -->
|
|
|
- <a @click="inputRemark(record,'辅料')" v-show='showSelect==0'> 备注</a>
|
|
|
+ <a @click="inputRemark(record,'辅料')" v-show="showSelect==0&&text!=='heji'"> 备注</a>
|
|
|
<span v-show='showSelect==1'>{{ text }}</span>
|
|
|
</span>
|
|
|
</a-table>
|
|
@@ -89,6 +89,7 @@
|
|
|
bordered
|
|
|
:pagination="false"
|
|
|
:scroll="{ x: 1500 }"
|
|
|
+ ref="table"
|
|
|
class="shipData"
|
|
|
>
|
|
|
</a-table>
|
|
@@ -103,45 +104,45 @@
|
|
|
<a-form layout="inline" class="kk">
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="出货数量合计" >
|
|
|
- <a-input v-model="sumInfo.shipQua" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.shipQua" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.shipQua}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="出运美元外销总价" >
|
|
|
- <a-input v-model="sumInfo.exportPriceUSD" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.exportPriceUSD" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.exportPriceUSD}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="出运人民币外销金额">
|
|
|
- <a-input v-model="sumInfo.exportedAmountRMB" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.exportedAmountRMB" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.exportedAmountRMB}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="成本合计金额">
|
|
|
- <a-input v-model="sumInfo.amountTotal" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.amountTotal" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.amountTotal}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="面料金额合计" >
|
|
|
- <a-input v-model="sumInfo.fabricAmount" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.fabricAmount" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.fabricAmount}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="辅料金额合计">
|
|
|
- <a-input v-model="sumInfo.ingAmount" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.ingAmount" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.ingAmount}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="出运加工费">
|
|
|
- <a-input v-model="sumInfo.shipProcesFees" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.shipProcesFees" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.shipProcesFees}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
@@ -150,19 +151,19 @@
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="面料不含税金额合计">
|
|
|
- <a-input v-model="sumInfo.fabricExcludTax" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.fabricExcludTax" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.fabricExcludTax}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="辅料不含税金额合计" >
|
|
|
- <a-input v-model="sumInfo.ingExcludAmount" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.ingExcludAmount" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.ingExcludAmount}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="出运不含税加工费金额" >
|
|
|
- <a-input v-model="sumInfo.excludingTaxProcessing" v-show='showSelect==0'></a-input>
|
|
|
+ <a-input v-model="sumInfo.excludingTaxProcessing" v-show='showSelect==0' :readOnly="showAll=='yes'"></a-input>
|
|
|
<span v-show='showSelect==1'>{{sumInfo.excludingTaxProcessing}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
@@ -187,7 +188,7 @@
|
|
|
<!-- 余下数量 -->
|
|
|
<ingRemQua-modal ref="ingRemQuaModal" :father="bb"></ingRemQua-modal>
|
|
|
<pilosity-fewer-list-modal ref="pilosityFewerListModal"></pilosity-fewer-list-modal>
|
|
|
- <submit-information ref="submitInformation" @close="closeRemark"></submit-information>
|
|
|
+ <submit-information ref="submitInformation" @close="closeRemark" :showAll="showAll=='yes'?'yes':'no'"></submit-information>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -633,8 +634,13 @@ export default {
|
|
|
showSelect: {
|
|
|
type: String,
|
|
|
default: null
|
|
|
+ },
|
|
|
+ showAll: {
|
|
|
+ type: String,
|
|
|
+ default: null
|
|
|
}
|
|
|
},
|
|
|
+
|
|
|
created() {},
|
|
|
methods: {
|
|
|
changeTaxrate(data){
|
|
@@ -647,6 +653,12 @@ export default {
|
|
|
this.$forceUpdate()
|
|
|
this.$emit('number',this.sumInfo.fabricExcludTax,this.sumInfo.ingExcludAmount)
|
|
|
},
|
|
|
+ Refresh(){
|
|
|
+ setTimeout(()=> {
|
|
|
+ this.$forceUpdate();
|
|
|
+ this.$refs.table.doLayout()
|
|
|
+ },200)
|
|
|
+ },
|
|
|
tabsCallback(key) {
|
|
|
this.activeKey = key
|
|
|
// console.log('点击的是', this.activeKey)
|