Browse Source

新页面

master
常熟吴彦祖 3 months ago
parent
commit
2a4a25a447
  1. 26
      src/views/modules/noOrderIssue/newNoOrderIssueNotify.vue
  2. 6
      src/views/modules/noOrderIssue/noOrderNotification.vue
  3. 10
      src/views/modules/orderIssure/newSoIssueNotify.vue
  4. 5
      src/views/modules/orderIssure/searchIssureNotify.vue
  5. 4
      src/views/modules/shipment/shipmentIssue.vue
  6. 6
      src/views/modules/shipment/shipmentNotification.vue

26
src/views/modules/noOrderIssue/newNoOrderIssueNotify.vue

@ -144,6 +144,10 @@
<div v-if="item.columnProp === 'applyQty'">
<el-input class="applyQtyClass" v-model="scope.row.applyQty" style="height: 11px; width: 98%;"></el-input>
</div>
<!-- rqrq - 可用库存特殊显示加粗小于需求数量时红色 -->
<span v-else-if="item.columnProp === 'availableQty'" :style="{fontWeight: 'bold', color: (scope.row.availableQty < scope.row.qtyRequired) ? '#F56C6C' : ''}">
{{ scope.row.availableQty }}
</span>
<span v-else-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
style="width: 100px; height: 80px" /></span>
@ -199,7 +203,13 @@
<el-table-column prop="uom" header-align="center" align="center" min-width="80" label="单位"></el-table-column>
<el-table-column prop="isInWh" header-align="center" align="center" min-width="100" label="是否在立库"></el-table-column>
<!-- rqrq - 新增可用库存列 -->
<el-table-column prop="availableQty" header-align="center" align="right" min-width="100" label="可用库存"></el-table-column>
<el-table-column prop="availableQty" header-align="center" align="right" min-width="100" label="可用库存">
<template slot-scope="scope">
<span :style="{fontWeight: 'bold', color: (scope.row.availableQty < scope.row.applyQty) ? '#F56C6C' : ''}">
{{ scope.row.availableQty }}
</span>
</template>
</el-table-column>
<el-table-column fixed="right" header-align="center" align="center" width="80" label="操作">
<template slot-scope="scope">
<el-button type="danger" size="mini" plain style="height:14px; line-height:14px; padding:0 8px;" @click="deleteTempOrderRow(scope.$index)">删除</el-button>
@ -240,6 +250,9 @@
</el-table-column>
<!-- rqrq - 新增可用库存列 -->
<el-table-column prop="availableQty" header-align="center" align="right" min-width="80" label="可用库存">
<template slot-scope="scope">
<span style="font-weight: bold;">{{ scope.row.availableQty }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination @size-change="handleAvailableSizeChange" @current-change="handleAvailableCurrentChange"
@ -272,6 +285,9 @@
</el-table-column>
<!-- rqrq - 新增可用库存列 -->
<el-table-column prop="availableQty" header-align="center" align="right" min-width="80" label="可用库存">
<template slot-scope="scope">
<span style="font-weight: bold;">{{ scope.row.availableQty }}</span>
</template>
</el-table-column>
</el-table>
</el-main>
@ -311,6 +327,12 @@
<div v-else-if="item.columnProp === 'remark'">
<el-input v-model="scope.row.remark" style="padding: 0;width: 100%"></el-input>
</div>
<!-- rqrq - 可用库存特殊显示加粗小于申请数量时红色 -->
<div v-else-if="item.columnProp === 'availableQty'">
<span :style="{fontWeight: 'bold', color: (scope.row.availableQty < scope.row.qtyToIssue) ? '#F56C6C' : ''}">
{{ scope.row.availableQty }}
</span>
</div>
<div v-else>
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
@ -1905,6 +1927,7 @@ export default {
componentPartNo: partNo,
height: item.height || '',
isInWh: item.isInWh || '',
availableQty: item.availableQty || 0, // rqrq -
applyQty: parseFloat(item.applyQty) || 0,
componentPartDesc: item.componentPartDesc || item.partDesc || '',
uom: item.uom || '',
@ -2146,6 +2169,7 @@ export default {
partNo: data.rows.partNo || '',
height: data.rows.height || '',
isInWh: data.rows.isInWh || '',
availableQty: data.rows.availableQty || 0, // rqrq -
componentPartNo: data.rows.partNo || '',
orderNo: '',
releaseNo: '',

6
src/views/modules/noOrderIssue/noOrderNotification.vue

@ -617,6 +617,12 @@
<div v-else-if="item.columnProp === 'remark'">
<el-input v-model="scope.row.remark" style="padding: 0;width: 100%"></el-input>
</div>
<!-- rqrq - 可用库存特殊显示加粗小于申请数量时红色 -->
<div v-else-if="item.columnProp === 'availableQty'">
<span :style="{fontWeight: 'bold', color: (scope.row.availableQty < scope.row.qtyToIssue) ? '#F56C6C' : ''}">
{{ scope.row.availableQty }}
</span>
</div>
<div v-else>
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"

10
src/views/modules/orderIssure/newSoIssueNotify.vue

@ -146,6 +146,10 @@
<div v-if="item.columnProp === 'applyQty'">
<el-input class="applyQtyClass" v-model="scope.row.applyQty" style="height: 11px; width: 98%;"></el-input>
</div>
<!-- rqrq - 可用库存特殊显示加粗小于需求数量时红色 -->
<span v-else-if="item.columnProp === 'availableQty'" :style="{fontWeight: 'bold', color: (scope.row.availableQty < scope.row.qtyRequired) ? '#F56C6C' : ''}">
{{ scope.row.availableQty }}
</span>
<span v-else-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
style="width: 100px; height: 80px" /></span>
@ -243,6 +247,12 @@
<div v-else-if="item.columnProp === 'remark'">
<el-input v-model="scope.row.remark" style="padding: 0;width: 100%"></el-input>
</div>
<!-- rqrq - 可用库存特殊显示加粗小于需求数量时红色 -->
<div v-else-if="item.columnProp === 'availableQty'">
<span :style="{fontWeight: 'bold', color: (scope.row.availableQty < scope.row.qtyRequired) ? '#F56C6C' : ''}">
{{ scope.row.availableQty }}
</span>
</div>
<div v-else>
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"

5
src/views/modules/orderIssure/searchIssureNotify.vue

@ -348,6 +348,11 @@
headerAlign="center"
width="100"
align="right">
<template slot-scope="scope">
<span :style="{fontWeight: 'bold', color: (scope.row.availableQty < scope.row.qtyRequired) ? '#F56C6C' : ''}">
{{ scope.row.availableQty }}
</span>
</template>
</el-table-column>
<el-table-column
prop="qtyToIssue"

4
src/views/modules/shipment/shipmentIssue.vue

@ -141,6 +141,10 @@
<el-input class="qtyToApplyClass" v-model="scope.row.qtyToApply" style="height: 11px; width: 98%;"
:step="0" :min="0"></el-input>
</div>
<!-- rqrq - 可用库存特殊显示加粗小于库存数量时红色 -->
<span v-else-if="item.columnProp === 'availableQty'" :style="{fontWeight: 'bold', color: (scope.row.availableQty < scope.row.inventoryQty) ? '#F56C6C' : ''}">
{{ scope.row.availableQty }}
</span>
<span v-else-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
style="width: 100px; height: 80px" /></span>

6
src/views/modules/shipment/shipmentNotification.vue

@ -537,6 +537,12 @@
<div v-else-if="item.columnProp === 'remark'">
<el-input v-model="scope.row.remark" style="padding: 0;width: 100%"></el-input>
</div>
<!-- rqrq - 可用库存特殊显示加粗小于可发数量时红色 -->
<div v-else-if="item.columnProp === 'availableQty'">
<span :style="{fontWeight: 'bold', color: (scope.row.availableQty < scope.row.qtyOnHand) ? '#F56C6C' : ''}">
{{ scope.row.availableQty }}
</span>
</div>
<div v-else>
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"

Loading…
Cancel
Save