|
|
@@ -157,80 +157,7 @@
|
|
|
</div>
|
|
|
<div class="mt-10">
|
|
|
<p class="normal-title">订单产品</p>
|
|
|
- </div>
|
|
|
- <div style="border:1px solid #f1f2f3">
|
|
|
- <el-table
|
|
|
- ref="multipleTable"
|
|
|
- :data="data"
|
|
|
- style="width: 100%;"
|
|
|
- :header-cell-style="{height:'50px',color:'#768093',fontWeight:'400'}"
|
|
|
- :cell-style="{height:'50px',color:'#768093',fontWeight:'400'}">
|
|
|
- <!-- <el-table-column
|
|
|
- type="selection"
|
|
|
- width="55"
|
|
|
- align="center">
|
|
|
- </el-table-column> -->
|
|
|
- <el-table-column
|
|
|
- align="center"
|
|
|
- label="产品图"
|
|
|
- width="80">
|
|
|
- <template slot-scope="scope">
|
|
|
- <previewImage class="image" :image="scope.row.attinfos[0]" :list="scope.row.attinfos" :deletebtn="false"></previewImage>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="itemname"
|
|
|
- label="产品名称"
|
|
|
- width="180">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="itemno"
|
|
|
- label="产品编号"
|
|
|
- width="180">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="型号/规格"
|
|
|
- width="180">
|
|
|
- <template slot-scope="scope">
|
|
|
- <p><span>{{scope.row.model}}</span> / <span>{{scope.row.spec}}</span></p>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="数量"
|
|
|
- width="150">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input-number size="mini" v-model="scope.row.qty" :min="scope.row.orderminqty" :step="scope.row.orderaddqty" label="输入数量" @change="qtyChange"></el-input-number>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="unit"
|
|
|
- label="计量单位"
|
|
|
- width="90">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-tag size="mini" type="info" effect="plain">{{scope.row.unitname}}</el-tag>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="gradeprice"
|
|
|
- label="价格"
|
|
|
- width="90">
|
|
|
- <template slot-scope="scope">
|
|
|
- <p style="color:red;font-weight:500">¥ {{tool.formatAmount(scope.row.gradeprice,2)}}</p>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="小计"
|
|
|
- width="150">
|
|
|
- <template slot-scope="scope">
|
|
|
- <p style="color:red;font-weight:500">¥ {{tool.formatAmount(scope.row.gradeprice * scope.row.qty,2)}}</p>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column width="90">
|
|
|
- <template slot-scope="scope">
|
|
|
- <slot name="del" :data="scope.row"></slot>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ <product-list :type="'edit'"></product-list>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="fixed__btn__panel">
|
|
|
@@ -243,11 +170,12 @@
|
|
|
|
|
|
<script>
|
|
|
import previewImage from '@/components/previewImage/index.vue'
|
|
|
-
|
|
|
+import productList from './productlist.vue'
|
|
|
export default {
|
|
|
props:['data'],
|
|
|
components:{
|
|
|
- previewImage
|
|
|
+ previewImage,
|
|
|
+ productList
|
|
|
},
|
|
|
data () {
|
|
|
return {
|